I have a site and within this site there is a folder that everyone has access to.
but I need to make sure that in my document only the site managers have access.
I want to inherit permission for everyone except site managers.
I used a script inside: (Repository > Data Dictionary > Scripts):
//Removing everyone's permission
document.setInheritsPermissions(false);
//Giving permission to Site Managers only
document.setPermission("SiteManager");
Permission to Site Managers group is not working what do I do.
Thank you very much in advance
Hope this helps:
https://gist.github.com/douglascrp/0a6353ae143e71466358c93b7e77c225
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.