mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Fix to expose inherit permissions flag for a node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3145 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -502,6 +502,14 @@ public final class TemplateNode implements Serializable
|
||||
return this.permissions;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return true if this node inherits permissions from its parent node, false otherwise.
|
||||
*/
|
||||
public boolean getInheritsPermissions()
|
||||
{
|
||||
return this.services.getPermissionService().getInheritParentPermissions(this.nodeRef);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the parent node
|
||||
*/
|
||||
|
Reference in New Issue
Block a user