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 (JIRA)" <ji...@apache.org> on 2014/04/10 16:40:18 UTC

[jira] [Created] (OAK-1720) PermissionValidator may throw AccessDenied if testing for NO_PERMISSION

angela created OAK-1720:
---------------------------

             Summary: PermissionValidator may throw AccessDenied if testing for NO_PERMISSION
                 Key: OAK-1720
                 URL: https://issues.apache.org/jira/browse/OAK-1720
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: angela
            Assignee: angela


the attached test shows a scenario where the permission validator will throw accessdeniedexception when testing for NO_PERMISSION.

there is a trivial, no-risk fix for this which is also better performance wise (as it simply omits the evaluation -> attached) although IMO this should also be fixed in the permission evaluation in the long run.



--
This message was sent by Atlassian JIRA
(v6.2#6252)