Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29155

Permissions Helper should cleanup empty realms

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.4
    • Fix Version/s: 11.0
    • Labels:
      None
    • Test Plan:
      Hide

      0. Create a folder which inherits the default permissions from root
      1. Edit permissions for a folder in resources
      2. Add an extra permission to the access role: select 'Edit Own Resources'
      3. Go into Admin Workspace > Realms, put the site ID in to the search box, then click on row that corresponds to the folder where the permission was added.
      4.Under the roles sectionn of the page, click on ' access' and check 'content.revise.own' is ticked
      5. Return to the site & in Resources remove the newly added permission
      6. Return to Realms tool, reset, find the site again, there should NOT be a link to the folder realm any more.

      Show
      0. Create a folder which inherits the default permissions from root 1. Edit permissions for a folder in resources 2. Add an extra permission to the access role: select 'Edit Own Resources' 3. Go into Admin Workspace > Realms, put the site ID in to the search box, then click on row that corresponds to the folder where the permission was added. 4.Under the roles sectionn of the page, click on ' access' and check 'content.revise.own' is ticked 5. Return to the site & in Resources remove the newly added permission 6. Return to Realms tool, reset, find the site again, there should NOT be a link to the folder realm any more.

      Description

      When you use the Permissions Helper to assign extra permissions to a realm if the AuthzGroup doesn't exist it will create it, however if you then remove the extra permisions you get left with an empty AuthzGroup.

      The Permissions Helper should tidy up and remove an empty AuthzGroup when it doesn't actually contain any permissions.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                maintenanceteam Core Team
                Reporter:
                buckett Matthew Buckett
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration