Class InfoContentEntityChecker
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships.RelationshipChecker
-
- edu.cornell.mannlib.vivo.auth.policy.InfoContentEntityChecker
-
public class InfoContentEntityChecker extends edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships.RelationshipCheckerDoes the requested action involve a change to an Info Content Entity that the self-editor is authorized to modify?
-
-
Constructor Summary
Constructors Constructor Description InfoContentEntityChecker(edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractPropertyStatementAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description edu.cornell.mannlib.vitro.webapp.auth.policy.ifaces.PolicyDecisionisAuthorized(List<String> userUris)A self-editor is authorized to add, edit, or delete a statement if the subject or object refers to an Info Content Entity, and if the self-editor: 1) is an Author of that Info Content Entity, 2) is an Editor of that Info Content Entity, or 3) is Featured in that Info Content Entity.
-
-
-
Method Detail
-
isAuthorized
public edu.cornell.mannlib.vitro.webapp.auth.policy.ifaces.PolicyDecision isAuthorized(List<String> userUris)
A self-editor is authorized to add, edit, or delete a statement if the subject or object refers to an Info Content Entity, and if the self-editor: 1) is an Author of that Info Content Entity, 2) is an Editor of that Info Content Entity, or 3) is Featured in that Info Content Entity.
-
-