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

cache should be forget after attach and detach operations. #943

Open
knvpk opened this issue Apr 1, 2019 · 1 comment
Open

cache should be forget after attach and detach operations. #943

knvpk opened this issue Apr 1, 2019 · 1 comment

Comments

@knvpk
Copy link

knvpk commented Apr 1, 2019

The cache for particular role or permissions which is used in can and hasRole, should be removed when operations like attach and detach is happen. because the new changes need to be cached.

For now im doing this manually on my controllers but it should be in the plugin itself.

@kossa
Copy link

kossa commented Oct 3, 2019

Seems like the repo is died, how to active cache ? I have a lot of request using auth()->user()->hasRole('admin')

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

2 participants