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 2014/02/03 14:24:10 UTC

[jira] [Comment Edited] (OAK-710) PermissionValidator: Proper permission evaluation for moving/renaming nodes

    [ https://issues.apache.org/jira/browse/OAK-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889462#comment-13889462 ] 

angela edited comment on OAK-710 at 2/3/14 1:22 PM:
----------------------------------------------------

given the fact that some move operations cannot be detected (e.g. second move replacing the node of the first move) and that the resulting permission evaluation is in most cases more restrictive, i decided to leave the failing tests as known issues (all marked with @Ignore("OAK-710") and updated the documentation at http://jackrabbit.apache.org/oak/docs/differences_permission.html. 

The current move-handling can in any case just be 'best-effort' as the current diff mechanism doesn't respect sameness of nodes as it is defined by JCR for nodes that are referenceable.


was (Author: anchela):
given the fact that some move operations cannot be detected (e.g. second move replacing the node of the first move) and that the resulting permission evaluation is in most cases more restrictive, i decided to leave the failing tests as known issues (all marked with @Ignore("OAK-710") and updated the documentation at http://jackrabbit.apache.org/oak/docs/differences_permission.html. 

> PermissionValidator: Proper permission evaluation for moving/renaming nodes
> ---------------------------------------------------------------------------
>
>                 Key: OAK-710
>                 URL: https://issues.apache.org/jira/browse/OAK-710
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core
>            Reporter: angela
>            Assignee: angela
>             Fix For: 0.16
>
>         Attachments: OAK-710.patch
>
>
> In jr-core renaming just requires MODIFY_CHILD_NODE_COLLECTION permission;
> move requires modification of the child collection plus remove + add of the target node.
> However, the Validator interface currently doesn't allow for easy detection
> of move/rename operations. For backwards compatibility it was desirable
> to find a solution for this open issue.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)