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 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]