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 2017/03/08 10:05:38 UTC

[jira] [Resolved] (OAK-5909) PrivilegeContext.definesContextRoot should take primary type into account

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

angela resolved OAK-5909.
-------------------------
       Resolution: Fixed
    Fix Version/s: 1.8
                   1.7.0

Committed revision 1785942.


> PrivilegeContext.definesContextRoot should take primary type into account
> -------------------------------------------------------------------------
>
>                 Key: OAK-5909
>                 URL: https://issues.apache.org/jira/browse/OAK-5909
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.7.0, 1.8
>
>
> {{PrivilegeContext.definesContextRoot }} currently only looks a the name of the tree to be tested. since the reserved name of the privilege tree below {{/jcr:system}} is not enforced and may end up with other trees verifying the node type would minimize the risk of odd bugs.
> spotted while working on OAK-5882



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)