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 "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2014/04/11 00:32:15 UTC

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

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

Tobias Bocanegra resolved OAK-1720.
-----------------------------------

    Resolution: Fixed

> 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: Tobias Bocanegra
>             Fix For: 1.0
>
>         Attachments: OAK-1720.patch
>
>
> 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)