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:
Kevin Roast
2006-06-19 10:55:31 +00:00
parent affce5b315
commit 257bc57ea6

View File

@@ -502,6 +502,14 @@ public final class TemplateNode implements Serializable
return this.permissions; 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 * @return the parent node
*/ */