Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a piece of functionality that all users had access to. However, I are now requiring permissions to use it e.g
$user->can('add post')
We want to grant all existing users this permission as a default, and only remove it if we remove it. Any users created after this deployment will not have this permission by default.
In other words, what is the best practice for creating new permission and granting it by default to all existing users?
Beta Was this translation helpful? Give feedback.
All reactions