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 10:56:00 UTC
[jira] [Created] (OAK-8767)
CugAccessControlManager.getEffectivePolicies(String) throws
PathNotFoundException if parent node is not accessible
Angela Schreiber created OAK-8767:
-------------------------------------
Summary: 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
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)