Resolving ACE policy ordering issues after AEM 6.5 LTS migration
After migrating to Adobe Experience Manager (AEM) 6.5 LTS, author access issues to /content/projects occur due to incorrect ordering of Access Control Entries (ACEs). This article provides steps to identify and resolve this issue.
Description description
Environment
Adobe Experience Manager (AEM) 6.5 LTS, typically observed in environments migrated from previous AEM versions
Symptoms
- Authors who are members of the correct permission groups can’t access
/content/projectson Author instances. - The issue isn’t observed in environments set up from scratch with AEM 6.5 LTS.
- The deny ACE for
everyoneappears after custom allow entries in the ACL for/content/projects, overriding those permissions. - The issue is only present on Author instances; Publish instances have the correct policy order.
Cause
The issue is caused by the sequence of ACE creation or reordering during the migration process, resulting in the rep:DenyACE for everyone being applied after custom permissions. This causes the deny policy to override custom permissions, blocking access for intended users.
Resolution resolution
Follow the steps below to resolve the issue.
-
Identify all custom ACL packages that affect
/content/projects. -
Redeploy the custom ACL packages to the affected environment. This may correct the ACE ordering by reapplying the intended permissions.
-
After redeployment, verify the ACE ordering for
/content/projects:-
The expected order is:
-
AEM-related allow policies (such as for service users)
-
The deny policy for
everyone -
Custom project-specific allow permissions
-
The problematic order is:
- Custom project-specific allow permissions
- The deny policy for
everyone
-
-
To check the order, export the
rep:policyfor/content/projects, or use the Effective Permissions tool for affected users. -
Validate that authors in the correct groups can now access
/content/projects, as expected. -
If the issue persists, review the deployment sequence of ACL packages, and test the same sequence in a lower environment to confirm if the behavior can be reproduced. Adjust the deployment order, if necessary.