[ 
https://issues.apache.org/jira/browse/OAK-886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696886#comment-13696886
 ] 

Antonio Sanso commented on OAK-886:
-----------------------------------

the easy fix would be to remove

{code}
        if (!tree.exists()) {
            throw new PathNotFoundException("No tree at " + oakPath);
        }
{code} 

in AccessControlManagerImpl#getTree . It is important to analyze the side 
effect though since this method is called from different sources .
                
> Issue in AccessControlManager#hasPrivileges
> -------------------------------------------
>
>                 Key: OAK-886
>                 URL: https://issues.apache.org/jira/browse/OAK-886
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>            Reporter: Antonio Sanso
>         Attachments: OAK-886-test.txt
>
>
> AccessControlManager#hasPrivileges throws an unexpected exception while 
> should return true.
> See unit test in attachment to follow

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to