Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-2539

Cannot delete ACL for a Role

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.2.2
    • Component/s: security app
    • Labels:
      None
    • Environment:
      Linux/Windows, could be reproduced with a fresh installation (magnolia-bundled-webapp-5.2.1.war in tomcat/jboss).

      Description

      1. Edit a Role in Security App -> example delete ACL "DMS Read-Only /" in Anonymous Role
      2. Save Changes
      3. Edit Role again -> "deleted" ACL is still visible.

      I was seeing that in SavingRoleDialogAction#createOrUpdateRole, roleItem.applyChanges() is deleting first the existing Intermediary-ACL but createOrUpdateRole is reading the not Intermediary-ACLs again (acl.readEntry(entryNode)), thats why an ACL will be never deleted.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jsimak Jaroslav Simak
              Reporter:
              mgri Markus Grieder
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: