05-04-2009 01:19 PM
GROUP-A
_________________
| |
Group-A-A Group-A-B
| |
Group-A-A-A Group-A-B-A05-05-2009 07:58 AM
05-05-2009 12:55 PM
1. Are you giving permissions to the content of space?To answer all questions i paste the script body (the simple way) and explain the process and other details.
2. Do you have a consumer->read permission configured for your space?
3. Do you have "Inherit Parent Space Permissions" check box selected for your top level space?
//cut inheritance
document.setInheritsPermissions(false);
//get groups of the user (in this example if the user belongs to Group-A-A-A the function return Group-A-A-A,Group-A-A and Group-A )
var arr=people.getContainerGroups(person);
var i;
for(i=0;i<arr.length;i++)
document.setPermission("Read",arr[i].properties["usr:authorityName"] );
document.save();
Permissions
Inherit: false
Assigned Permission To Authority Access
Read GROUP_GROUP-A-A-A ALLOWED
Read GROUP_GROUP-A-A ALLOWED
Read GROUP_GROUP-A ALLOWED05-08-2009 11:24 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.