You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/06/27 17:39:20 UTC

[jira] [Commented] (CMIS-680) canMoveObject for the root folder

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

Florian Müller commented on CMIS-680:
-------------------------------------

You are mixing up the Permission Mapping with Allowable Actions. The Allowable Actions tell the client what the current user can do with this object at this point in time. The root folder can never be moved because the moveObject operation requires a sourceFolderId which doesn't exist for the root folder.
                
> canMoveObject for the root folder
> ---------------------------------
>
>                 Key: CMIS-680
>                 URL: https://issues.apache.org/jira/browse/CMIS-680
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 0.9.0 beta 1
>            Reporter: linzhixing
>            Priority: Minor
>
> TCK says 
> "Root folder has CAN_MOVE_OBJECT allowable action! (AbstractSessionTest.java:1023)".
> I saw 2.1.12.3.2.2 which lists up AllowableActions and found that canMoveObject action has three keys, canMove.Object, canMove.Target and canMove.Source.
> To set canMove action not valid, it requires to set all the three keys invalid.
> It is understandable that the root folder cannot be moved to elsewhere(canMobe.Object), but why canMove.Target and canMove.Source is not allowed for the root folder? I may need to move an object from the root folder or into it.
> Moreover, where is it written in the specification that canMove.Object is not allowed for the root folder? It is reasonable but I couldn't find it anywhere.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira