I am currently using cmis to communicate to alfresco,and i want to create folders with cmis but i don't like those folders to inherite permissions so how can i do that with cmis?
By the way my app is written in java.
Thank you in advance
Hi:
As far I know, CMIS provides a very basic management of Alfresco permissions (cmis:read and cmis:write). But surely, you can set up a content rule that may be triggered from CMIS for disabling inheritance in case of folder creation.
Regards.
--C.
ok do you have an idea how to do that with the alfresco api ?
Yes, first create a content rule in rootPath folder of your application in the repository. This rule will apply over all content created of type Folder (recursively) and runs a JS-API script placed in /Data Dictionary/Scripts. The script should do something like this:
setInheritsPermissions | Alfresco Documentation
And then you should create CMIS folders in the way you are doing.
Regards.
--C.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.