I made script which is coping files from repo to site. (Creating data library template) But I want to setup permissions for copied folders. I was reading docs, but for me not all is clear.
It is any way to set up for example read+write for collaborators using script ?
The nodes in scripts are ScriptNodes (there's a java class for that). For each node you can set and check permissions, there are several methods for these matters.
I found out that it is working for groups that are in LDAP. For example I can do correctly .setPermission("SiteCollaborator","GROUP_Office");
But I want to do it on group for example Consumer inside site .setPermission("SiteCollaborator","site_test19_SiteConsumer"); And this line is not working, it is adding unknown object to object permissions (from repo view)
There is any way to catch group Consumer inside site ?