[
https://issues.apache.org/jira/browse/SLING-12115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17782073#comment-17782073
]
Julian Sedding commented on SLING-12115:
----------------------------------------
I have now implemented this using {{ACLOptions}} as suggested by [~kwin]. I.e.
the following two variations of the syntax are supported.
{noformat}
set ACL on / (ACLOptions=ignoreMissingPrincipal)
...
end
set ACL for nonExistingPrincipal (ACLOptions=ignoreMissingPrincipal)
...
end
{noformat}
> Repoinit should leave importBehaviour for ACL creation to JCR
> -------------------------------------------------------------
>
> Key: SLING-12115
> URL: https://issues.apache.org/jira/browse/SLING-12115
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Affects Versions: Repoinit JCR 1.1.44
> Reporter: Julian Sedding
> Assignee: Julian Sedding
> Priority: Major
> Fix For: Repoinit JCR 1.1.46
>
>
> JCR Repoinit checks the existence of the principal, for which ACLs should be
> created. In an Oak repository, this check depends on the {{ImportBehaviour}}
> configured for the {{SecurityProvider}}. JCR Repoinit should not check, but
> instead rely on the repository's behaviour.
> cc [~angela]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)