As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
GROUP-A _________________ | | Group-A-A Group-A-B | | Group-A-A-A Group-A-B-A
1. Are you giving permissions to the content of space?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 ALLOWED