Skip to content
Discussion options

You must be logged in to vote

if I remove a permission from the role, the entry still exists in model_has_permissions.

role permision is handled by role_has_permissions, if you remove a permission from the role, the data on that table get deleted, not on model_has_permissions

'role_has_permissions' => 'role_has_permissions',

Maybe, after deleted you forget $this->forgetCachedPermissions(); for cache refresh

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@aa384
Comment options

@erikn69
Comment options

@erikn69
Comment options

@aa384
Comment options

@erikn69
Comment options

Answer selected by aa384
Comment options

You must be logged in to vote
2 replies
@angeljqv
Comment options

@aa384
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants