cancel
Showing results for 
Search instead for 
Did you mean: 

[OK]CMIS & acl : how to use it?

grummfy
Champ in-the-making
Champ in-the-making
Hello,
I don't realy understand how to use the ACL with CMIS.

With capabilities it's easy, the answer is rely easy to understand but with ACL I have red all the specification and didn't understand what to do with it ….

Does I need to forget ACl and only take care of allowableAction?
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

If you want to know what you can do then stick to allowableActions.

If you need to change access rights then you need to consider a bit more. CMIS ACLs may not give you the control you want (you may need more than Read, Write and All). If you delve into repository specific stuff your code will no longer be portable.

In Alfrecso, the CMIS API reports the best it can for ACLs, however ACLs are always reported as "inexact", meaning more can affect the decision. Alfresco can assign system wide rights, rights to owners, etc,  that will not be reported. There is no idea of owner in CMIS. So allowableActions will always report what you can do. The ACL API only allows you to see/change node specific settings.

Hope this helps

Andy

grummfy
Champ in-the-making
Champ in-the-making
thanks, it's what I was thinking without be certain
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.