[
https://issues.apache.org/jira/browse/SLING-12115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-12115:
------------------------------------
Description:
JCR Repoinit checks the existence of the principal, for which ACLs should be
created. In an Oak repository, this check depends on the
[{{ImportBehavior}}|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/xml/ImportBehavior.java#L28]
configured for the {{SecurityProvider}}
(https://github.com/apache/jackrabbit-oak/blob/52755d8ad5915c5cd3cb037b848036930e8297b7/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/Util.java#L143).
JCR Repoinit should not check, but instead rely on the repository's behaviour.
cc [~angela]
was:
JCR Repoinit checks the existence of the principal, for which ACLs should be
created. In an Oak repository, this check depends on the {{ImportBehavior}}
configured for the {{SecurityProvider}}
(https://github.com/apache/jackrabbit-oak/blob/52755d8ad5915c5cd3cb037b848036930e8297b7/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/Util.java#L143).
JCR Repoinit should not check, but instead rely on the repository's behaviour.
cc [~angela]
> Repoinit should leave enforcement of 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
> [{{ImportBehavior}}|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/xml/ImportBehavior.java#L28]
> configured for the {{SecurityProvider}}
> (https://github.com/apache/jackrabbit-oak/blob/52755d8ad5915c5cd3cb037b848036930e8297b7/oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/Util.java#L143).
> 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)