Referenced content is published despite replicate Deny permissions in AEM

Referenced content is published with a primary content node in Adobe Experience Manager (AEM), even when the initiating user has a replicate Deny permission on the referenced nodes. This behavior can unintentionally publish unpublished or unapproved changes in referenced configuration, template, or content nodes. To address this, implement custom permission-validation or reference-filtering logic, or establish operational guidelines for authors using Publish with References.

Description description

Environment

Adobe Experience Manager as a Cloud Service

Issue/Symptoms

  • You publish a content node by using Publish with References.
  • You see referenced configuration, template, or content nodes published with the primary node.
  • You see the referenced nodes published even though you have a replicate Deny permission on them.
  • You see unpublished or unapproved changes in the referenced nodes become available on Publish.

Cause

The publishing workflow processes the selected references by using its service context rather than enforcing the initiating user’s replicate Deny ACL on each referenced node. As a result, referenced paths included in the publication request can be published with the primary content node. This behavior requires technical confirmation for the specific standard or customized workflow used in the affected environment.

Resolution resolution

Follow the steps below to address the issue:

  1. Be aware that the Publish with References workflow can perform replication through a service context with permissions that don’t enforce the initiating user’s replicate Deny ACLs on the referenced nodes.
  2. If referenced nodes must be excluded based on the initiating user’s permissions, implement a custom workflow step that checks the user’s permissions on each referenced node before replication and excludes nodes for which the user doesn’t have replicate permission. Alternatively, establish operational guidelines informing authors and administrators that using Publish with References can publish referenced content regardless of the initiating user’s individual ACLs.
  3. After publishing, use CRXDE Lite or Repository Browser to identify the nodes that were published and review the cq:lastReplicated property to confirm their publication status.
  4. Verify that referenced nodes are published according to the intended permission model by reviewing the published content and its replication properties.
recommendation-more-help
experience-cloud-kcs-help-kbarticles