[ 
https://issues.apache.org/jira/browse/OAK-8767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angela Schreiber updated OAK-8767:
----------------------------------
    Description: 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.  (was: 
while working on OAK-7939 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.)

> 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)

Reply via email to