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
{{ message }}
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.
CakePHP supports using Acl/Aco to build a database of allowed and disallowed actions, look in to using this for permissions instead of checking everywhere for the groups.
The text was updated successfully, but these errors were encountered:
The default CakePHP implementation of Acl/Aco doesn't support members being in more than one group, in addition to this, it also doesn't support the fine-grained permissions we require (MembersController::edit is allowed dependant on the value of the parameter passed to the function, or even worse, the MembersController::view method hides certain data based on permissions),
Suggest we stick to the current method that uses the Controller::isAuthorized function, but instead of that checking the groups directly it checks against permissions that are set at a group level elsewhere. This will at-least allow us to specify the permissions a member/group has without having that hard-coded.
Removing the 'Pre 04' tag from this issue, the fix is non-trivial, and not vital at this moment.
CakePHP supports using Acl/Aco to build a database of allowed and disallowed actions, look in to using this for permissions instead of checking everywhere for the groups.
The text was updated successfully, but these errors were encountered: