OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cmis-comment message

[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

cid:image001.gif@01CCF6D0.4613B970
European Commission
DG TRADE
Unit A4

CHAR 02/077
B-1049 Brussels/Belgium
+32 2 298 86 27
jorge.martin-cuervo@ext.ec.europa.eu

 

From: David Choy [mailto:david.choy500@gmail.com]
Sent: Monday, July 28, 2014 8:03 PM
To: MARTIN CUERVO Jorge (TRADE-EXT)
Cc: cmis-comment@lists.oasis-open.org
Subject: Re: [cmis-comment] Missing Action.CAN_CREATE_POLICY

 

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,

I have several questions about the CMIS 1.1 specification.
I was reading carefully the section 2.1.12 Access Control and:

1) in sub-section 2.1.12.3.2.2 Object Services, the canCreatePolicy is not present in the XML Schema.
I have asked the people of Apache Chemistry why there's no Action.CAN_CREATE_POLICY in their code (see below) and this is because it's not in the XML schema.

2) I miss in the specification a reference to canCreateItem (it is defined in the schema)

Wouldn't be something like this?

canCreateItem
Description: Can create a cmis:item object in the specified folder (createItem)
Base Type: cmis:folder
Operand: Folder
Key: canCreateItem.Folder
Permission: cmis:read

3) in sub-section 2.1.12.3.2.3 Filing Services:
        a) the second canAddObjectToFolder (with operand Folder), has the base Type: cmis:document, cmis:policy and cmis:item, shouldn't be cmis:folder?
        b) the second canRemoveObjectFromFolder (with operand Folder), has the base Type: cmis:document and cmis:policy, shouldn't be as well cmis:folder?


Many thanks for your time,
Kind regards.

Jorge MARTIN CUERVO

European Commission
DG TRADE
Unit A4
CHAR 02/077
B-1049 Brussels/Belgium
+32 2 298 86 27
jorge.martin-cuervo@ext.ec.europa.eu


-----Original Message-----
From: Florian Müller [mailto:mueller@gotux.de]
Sent: Thursday, July 17, 2014 10:08 AM
To: MARTIN CUERVO Jorge (TRADE-EXT); dev
Subject: Re: Missing Action.CAN_CREATE_POLICY

Hi Jorge,

canCreatePolicy is in the spec document, but not in the CMIS schema and the
schema wins.
Therefore, it's not in OpenCMIS.

- Florian


> Hello all,
>
> We are using Chemistry OpenCMIS  0.11.0  and the I miss the
> Action.CAN_CREATE_POLICY.
>
> from CMIS 1.1 specs (page 88)
>
> canCreatePolicy
> Description: Can create a cmis:policy object as a child of the specified
> folder
> (createPolicy).
> Base Type: cmis:folder
> Operand: Folder
> Key: canCreatePolicy.Folder
> Permission: cmis:read
>
> Thanks
> Jorge MARTIN CUERVO
> [cid:image001.gif@01CCF6D0.4613B970]
> European Commission
> DG TRADE
> Unit A4
> CHAR 02/077
> B-1049 Brussels/Belgium
> +32 2 298 86 27
> jorge.martin-cuervo@ext.ec.europa.eu<mailto:jorge.martin-cuervo@ext.ec.europa.eu>
>

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]