Update RootGroupHasAllPermissionsVoter to Be Curator/Admin Role Specific

    • Type: Technical Work
    • Resolution: Done
    • Priority: Standard
    • 2.1.35
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

              Assignee:
              Christy Grant
              Reporter:
              sakhan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: