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

Reload redis cache when any permission data changed in storage #15

Open
foyzulkarim opened this issue Nov 30, 2020 · 0 comments
Open

Reload redis cache when any permission data changed in storage #15

foyzulkarim opened this issue Nov 30, 2020 · 0 comments

Comments

@foyzulkarim
Copy link
Owner

When the user logs in, then we store the permission data into redis cache.
But if any of the permission got changed while the user still logged in, then it is not possible for the Authorization server to apply the updated permission sets.
So, we should reload the user's permission cache in redis, when there is any change happened in the primary storage permission table.

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

No branches or pull requests

1 participant