Managing ACL and ACE node deletion in Adobe Experience Manager
This article explains whether ACL (rep:ACL) nodes can be deleted through the /bin/policies endpoint in Adobe Experience Manager and outlines best practices for managing access control entries (ACEs) and access control lists (ACLs).
Description description
Environment
Adobe Experience Manager (AEM) (all versions)
Issue/Symptoms
- ACE nodes (
rep:GrantACEandrep:DenyACE) can be deleted through the/bin/policiesendpoint. - Administrators need to determine whether ACL nodes (
rep:ACL) can also be deleted through the same endpoint.
Cause
The /bin/policies endpoint manages ACE entries within an ACL node. It does not delete the ACL node itself. Deleting ACL nodes directly is not a standard or recommended operation and can lead to repository inconsistencies.
Resolution resolution
Follow these steps to resolve the issue:
- To remove permissions for a user or group, use the
/bin/policiesendpoint or the appropriate AEM API to delete individual ACE nodes (rep:GrantACEorrep:DenyACE) from the ACL (rep:ACL) node. - Remove all required ACE entries from the ACL node through the AEM user interface or programmatically by using supported APIs.
- After you remove all ACEs, allow the repository implementation to clean up the
rep:ACLnode. You do not need to delete the ACL node manually in most cases. - Do not delete
rep:ACLnodes directly through CRX/DE or repository tools unless the official documentation explicitly recommends it. Direct deletion can cause repository inconsistencies. - For more information about permissions and access control in AEM, review the official Adobe Experience Manager documentation.
recommendation-more-help
experience-cloud-kcs-help-kbarticles