You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: