07-09-2010 09:22 AM
var btcFolder = companyhome.childrenByXPath("cm:BTC")[0];
var outgoingFolder = btcFolder.childrenByXPath("cm:Outgoing")[0];
var outgoingDocs = outgoingFolder.getChildren();
for(i in outgoingDocs)
{
var child = outgoingDocs[i];
if(child.getType() == "{http://www.alfresco.org/model/content/1.0}folder")
continue;
child.setInheritsPermissions(false);
child.removePermission("Coordinator", "GROUP_ActiveUsers");
child.save();
}
07-09-2010 04:43 PM
07-09-2010 05:36 PM
07-14-2010 10:14 AM
07-15-2010 04:23 AM
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.