Hi,
How to set a document/node permission to site's role (siteCollaborator, siteContributor, siteConsumer) with webscript?
Is it possible with setPermission syntax? [1]
Thank you,
[bayu]
Hi Mansha Pandey,
Apologize forgot to put the [1] link reference: setPermission | Alfresco Documentation - and thanks for the thread link.
Yes, I want do the similar like in that thread, such as: setPermission("SiteCollaborator","GROUP_Office");
But in the setPermission() documentation above mention the permission parameter are "read-write-delete" only, instead a site's role I supposed.
So, to clarify.. I'ts possible to put site's role in 'permission' parameter of setPermission function. CMIIW.
Thank you.-
SiteCollabotor is a Role . Each Role has a set of permissions.The method setPermission takes permission as an argument.
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.