Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-6724

Permissions screen will not open when a domain refers to a non-existing group

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.22.13, 2.22.14, 2.24.00, 2.24.01
    • 2.22.14, 2.24.00, 2.24.01
    • None
    • None

    Description

      When a hippo:domain has a reference to a group that no longer exists, the PermissionsPanel throws an overview when the CMS user wants to see the Permissions admin panel.
      This is caused by the Group.forName() method.

      Current reproduction path:

      • Go into a hipposys:domain node
      • Go into a hippo:authrole node below the hipposys:domain node
      • Add a non-existing group name to the hipposys:groups property, e.g. "FRITS"

      Current behavior: The permissions admin panel should no longer show and throw an exception in the system log

      Expected behavior:

      • The group permissions screen should show and the non-existing group should not be shown in the overview.

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              wouterd Wouter Danes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: