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 "Fernando Lemes (JIRA)" <ji...@apache.org> on 2015/04/24 23:23:39 UTC
[jira] [Updated] (OAK-2810) Cannot copy a node from a parent with
restricted access
[ https://issues.apache.org/jira/browse/OAK-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lemes updated OAK-2810:
--------------------------------
Attachment: patch_to_CopyTest_file.patch
Added a failing test on the existing CopyTest.java on oak-jcr module.
> Cannot copy a node from a parent with restricted access
> -------------------------------------------------------
>
> Key: OAK-2810
> URL: https://issues.apache.org/jira/browse/OAK-2810
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Affects Versions: 1.1.8
> Reporter: Fernando Lemes
> Labels: easytest, security
> Attachments: patch_to_CopyTest_file.patch
>
>
> If we try to copy a node, in which we have full access, but with no access on the parent node, the copy operation will throw a PathNotFoundException when evaluating checkProtectedNode(getParentPath("sourceNodePath")) on the copy() method from org.apache.jackrabbit.oak.jcr.session.WorkspaceImpl
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)