You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2019/11/14 13:33:00 UTC
[jira] [Resolved] (OAK-8767)
CugAccessControlManager.getEffectivePolicies(String) throws
PathNotFoundException if parent node is not accessible
[ 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)