Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User roles/capabilities change doesn't clear the token cache #516

Closed
richard-julien opened this issue Feb 19, 2020 · 0 comments
Closed

User roles/capabilities change doesn't clear the token cache #516

richard-julien opened this issue Feb 19, 2020 · 0 comments
Assignees
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@richard-julien
Copy link
Member

Description

When changing a user role or a role capabilities used by a role, the redis cache is not cleared.

Actual Output

Some part of the UI are available or not but the backend is not sync with actual capabilities.

Expected Output

When admin change a user roles, the user cache is invalidated on the API.
When user refresh his browser, everything is reloaded correctly.
If the user have no longer access to some UI part, the next query will redirect the user to the home if the capabilities are no longer available

@richard-julien richard-julien added the bug use for describing something not working as expected label Feb 19, 2020
@richard-julien richard-julien added this to the Release 3.0.1 milestone Feb 19, 2020
@SamuelHassine SamuelHassine added the solved use to identify issue that has been solved (must be linked to the solving PR) label Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

No branches or pull requests

2 participants