You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2015/09/16 17:48:45 UTC

[jira] [Updated] (JCR-3903) JcrUtils.getOrCreateByPath requires read access on root node

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

angela updated JCR-3903:
------------------------
    Priority: Minor  (was: Major)

> JcrUtils.getOrCreateByPath requires read access on root node
> ------------------------------------------------------------
>
>                 Key: JCR-3903
>                 URL: https://issues.apache.org/jira/browse/JCR-3903
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr-commons
>    Affects Versions: 2.11.0
>            Reporter: Alexandre Capt
>            Priority: Minor
>
> While setting some specific ACLs, I discovered that org.apache.jackrabbit.commons.JcrUtils#getOrCreateByPath throws an exception if user does not have read access to the root node.
> To reproduce:
> 1. Given path /a/b/c, remove read permission on / and /a
> 2. Add read permission on /a/b
> 3. Call JcrUtils.getOrCreateByPath("/a/b/c")
> This should be valid but the method throws an AccessDeniedException on root node



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)