[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [cmis-comment] Missing Action.CAN_CREATE_POLICY
Hello David, First, many thanks for your answers. About the point number 3, give me the opportunity to explain further.
I am going to start with another example, the method ObjectService.moveObject(object, target, source). In the section 2.1.12.3.2.2 there are three actions, one per parameter and the target and the source are limited to cmis:folder objects. canMoveObject Base type: cmis:document, cmis:folder, cmis:policy, cmis:item Operand: Object Key: canMove.Object Permission: cmis:write canMoveObject Base type: cmis:folder Operand: Folder Key: canMove.Target Permission: cmis:read canMoveObject Base type: cmis:folder Operand: Folder Key: canMove.Source Permission: cmis:read Similarly in the section 2.1.12.3.2.3, Multifilingservice.addObjectToFolder(object, folder) I think that the BaseType for the key canAddToFolder.Folder should be cmis:folder, while in the spec is written cmis:document, cmis:policy, cmis:item. I understand that you could not multi-file a folder, but this key corresponds to the target folder to put the object. Am I correct? canAddObjectToFolder Base Type: cmis:document, cmis:policy, cmis:item Operand: Object Key. canAddToFolder.Object Permission: cmis:read canAddObjectToFolder Base Type: cmis:folder Operand: Folder Key. canAddToFolder.Folder Permission: cmis:read The same principle applies to the key canRemoveFromFolder.Folder, currently is written cmis:document, cmis:policy and I think should be cmis:folder. Thanks and kind regards Jorge MARTIN CUERVO
CHAR 02/077 From: David Choy [mailto:david.choy500@gmail.com]
Hello Jorge, Thank you for your detailed comments on the Access Control section.
The inconsistencies described by your comments 1) and 2) seem to be an oversight in the release. We will correct them in the next release of CMIS. Regarding your comment 3), the base type cmis:folder is specifically left out because under the current data model, a folder cannot be multi-filed nor unfiled and therefore it cannot be added to or removed from
a parent folder. Kind regards. David
On Fri, Jul 18, 2014 at 2:02 AM, <Jorge.MARTIN-CUERVO@ext.ec.europa.eu> wrote: Hello, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]