You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2020/05/04 14:08:00 UTC
[jira] [Resolved] (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 ]
Julian Reschke resolved JCR-3903.
---------------------------------
Resolution: Duplicate
> 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
(v8.3.4#803005)