[
https://issues.apache.org/jira/browse/SLING-10983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17455307#comment-17455307
]
Konrad Windszus commented on SLING-10983:
-----------------------------------------
This is probably caused by
https://github.com/apache/sling-org-apache-sling-jcr-contentloader/blob/bc5153ae9000c4230b92287416785c1ff00fa240/src/main/java/org/apache/sling/jcr/contentloader/internal/BundleContentLoader.java#L558,
which removes the "/apps" node. Surprisingly the children of "/apps" which
are not contained in the initial content in the bundle survive this deletion...
> Sling-Initial-Content removes ACLs when using overwrite:=true without path
> --------------------------------------------------------------------------
>
> Key: SLING-10983
> URL: https://issues.apache.org/jira/browse/SLING-10983
> Project: Sling
> Issue Type: Bug
> Affects Versions: JCR ContentLoader 2.4.2
> Reporter: Konrad Windszus
> Priority: Major
>
> In the context of
> https://github.com/apache/sling-org-apache-sling-models-validation-impl/pull/1
> it turned out that if you use a Sling-Initial-Content header without an
> explicit {{path}} directive it will remove ACLs on nodes below the root node
> (if it is a parent node of the node to be updated by Sling-Initial-Content).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)