chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CMIS-680) canMoveObject for the root folder
Date Thu, 27 Jun 2013 15:39:20 GMT

    [ 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

Mime
View raw message