-
Technical Work
-
Resolution: Done
-
Standard
-
None
-
None
-
None
-
3
-
Sprint 193
Problem:
The RootGroupHasAllPermissionsVoter only works with the root admin group.
It would be best to break this voter into two different voters. One for Curator and one for Admin.
Acceptance Criteria:
Change the RootGroupHasAllPermissionsVoter into two voters.
* AdminHasAllPermissionsVoter
* CuratorHasAllPermissionsVoter
These two voters will use the "ROLE_<role_name>" granted authority to do its checks.
NOTE: Update/create unit tests as needed.
The RootGroupHasAllPermissionsVoter only works with the root admin group.
It would be best to break this voter into two different voters. One for Curator and one for Admin.
Acceptance Criteria:
Change the RootGroupHasAllPermissionsVoter into two voters.
* AdminHasAllPermissionsVoter
* CuratorHasAllPermissionsVoter
These two voters will use the "ROLE_<role_name>" granted authority to do its checks.
NOTE: Update/create unit tests as needed.