05-14-2007 08:31 PM
10-08-2008 10:31 AM
document.setInheritsPermissions(false);
It is mandatory to comment in permissionDefinitions.xml file (at the end of file)the next line:<!– For now, owners can always see, find and manipulate their stuff –>
<!– <globalPermission permission="FullControl" authority="ROLE_OWNER"/> –>
then reboot Alfresco.Warning: if you don't comment this line, the owner's document will always have all their permissions intact.
document.setPermissions("Coordinator", "GROUP_REVIEWERS");
Important: this code line is to be put before the other code line (setInerithsPermissions), because once has been executed the user can no longer assign permissions.I helped me a lot these links:
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.