Instead of using the localisation file to get available permissions, have an API that plugins can use to register permissions and easily check permissions for groups, roles or both.
SummarySave permission keys to settings tablePermissions API
PriorityNormalHigh
StatusNewAccepted
I've decided to completely rework the permission system in 4.0 and simplify it.
Instead of having an overly complex permission system with a page full of select boxes and such, permissions will be managed from the create/edit group and role pages.
There will also be an API to register permissions for plugins and easily check permissions for a group, role or both.
I've decided to completely rework the permission system in 4.0 and simplify it.
Instead of having an overly complex permission system with a page full of select boxes and such, permissions will be managed from the create/edit group and role pages.
There will also be an API to register permissions for plugins and easily check permissions for a group, role or both.