[
https://issues.apache.org/jira/browse/SLING-9412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-9412.
----------------------------------------
Resolution: Fixed
> AclUtil.containsEquivalentEntry should not fail if no such node exists
> ----------------------------------------------------------------------
>
> Key: SLING-9412
> URL: https://issues.apache.org/jira/browse/SLING-9412
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Affects Versions: Repoinit JCR 1.1.24
> Reporter: Angela Schreiber
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Repoinit JCR 1.1.26
>
> Attachments: SLING-9412.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{AclUtil.setPrincipalAcl}} has been adjusted with SLING-8766 to be more
> lenient with principals that don't support principal-based access control
> setup. However, the check for equivalent resource-based setup still fails if
> no node exists for the given absolute path (lookup of policies will fail with
> {{PathNotFoundException}}. to reduce the potential repo-init failures we
> should additionally verify that there exists a node before trying to verify
> the resource-based ac-setup.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)