[
https://issues.apache.org/jira/browse/OAK-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Angela Schreiber resolved OAK-8767.
-----------------------------------
Resolution: Fixed
Committed revision 1869794.
> CugAccessControlManager.getEffectivePolicies(String) throws
> PathNotFoundException if parent node is not accessible
> ------------------------------------------------------------------------------------------------------------------
>
> Key: OAK-8767
> URL: https://issues.apache.org/jira/browse/OAK-8767
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: authorization-cug
> Reporter: Angela Schreiber
> Assignee: Angela Schreiber
> Priority: Major
> Fix For: 1.20.0
>
>
> while working on OAK-7937 i noticed that
> {{CugAccessControlManager.getEffectivePolicies(String absPath)}} will fail
> with {{PathNotFoundException}} if any of the ancestor nodes is not
> accessible. Instead it should only verify that the target node exists. In
> contrast non-accessible ancestors will just be excluded from the evaluation
> of effective policies as it is the case when the attached ac-content is not
> readable.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)