|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicAuthority
The interface for a dynamic authority provider e.g. for the owner of a node or any other authority that is determined by the context rather than just a node.
Method Summary | |
---|---|
java.lang.String |
getAuthority()
If this authority is granted this method provides the string representation of the granted authority. |
boolean |
hasAuthority(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.lang.String userName)
Is this authority granted to the given user for this node ref? |
java.util.Set |
requiredFor()
For what permission checks is this dynamic authority required? If null, it is required for all checks. |
Method Detail |
---|
boolean hasAuthority(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.lang.String userName)
nodeRef
- userName
-
java.lang.String getAuthority()
java.util.Set requiredFor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |