Skip to content

fix: sidebar is empty when the jwt token is expired #2036 - #2037

Merged
NGPixel merged 1 commit into
requarks:masterfrom
PruvoNet:#2306
Jun 10, 2020
Merged

NGPixel merged 1 commit into
requarks:masterfrom
PruvoNet:#2306

Conversation

@regevbr

@regevbr regevbr commented Jun 10, 2020 •

Copy link
Copy Markdown
Contributor

fix: #2036
More details in the ticket

Summary:
The groups property of the user after token refresh was not normalized using user.getGroups() so the access filter on the sidebar always returned empty array.

@regevbr

regevbr commented Jun 10, 2020

Copy link
Copy Markdown
Contributor Author

@NGPixel can you please review it? It is a one liner fix for an annoying issue.

@auto-assign
auto-assign Bot requested a review from NGPixel June 10, 2020 13:06
@NGPixel
NGPixel merged commit 4ffd132 into requarks:master Jun 10, 2020
@regevbr
regevbr deleted the #2306 branch June 10, 2020 13:14
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this pull request Jul 9, 2024
rainforwind pushed a commit to rainforwind/wikijs that referenced this pull request Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: sidebar is empty when the jwt token is expired

2 participants