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

Cannot delete ACL for a Role

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 5.2.2
    • 5.2.1
    • security app
    • None
    • 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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD