-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
The permissions available to roles are relatively fixed and not user controllable.
They are often used by name (string) within the codebase for checking permissions.
It would probably be better just to maintain these as code rather than via the database, so changes don't need migrations and so we can be programatic references to permissions within code.
These would probably work best as an Enum so waiting until we have PHP8.1 minimum support may be convenient since there's otherwise no specific rush for this.