[ https://issues.apache.org/jira/browse/OAK-2810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660187#comment-14660187 ]
angela commented on OAK-2810: ----------------------------- not sure if that works as designed... how was that handled in jackrabbit 2.x? [~ferlemes], could you check how that used to be in jackrabbit-core? it might be that we have a bug here (copy-paste from move and clone). in any case if you could write a little test-case for oak-jcr that would be in any case helpful. > 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, patch-available, 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)