cancel
Showing results for 
Search instead for 
Did you mean: 

CMIS 1.1 API to disable inherit permission

rahulalfresco
Champ in-the-making
Champ in-the-making
Hi,

In CMIS 1.1, Is there any way to disable inherit permission while creating folder/document.
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

CMIS defines an "object-only" ACL propagation mode which allows you to set permissions that don't inherit, but Alfresco does not support it last I checked. Furthermore, CMIS does not define an ACL inheritance model and thus does not provide a simple "disable inheritance" operation. There was a <a href="https://lists.oasis-open.org/archives/cmis-comment/201304/msg00005.html">similar topic on the mailing list</a> last year explaining the reasons behind that - I believe that this hasn't changed.

In short: No, unfortunately there is no (pure) CMIS way to disable inheritance while creating folders or documents.
You could hack around it using aspects / properties and behaviours / rules as a kind of "cheat".

Regards
Axel