public class GrantChecker
extends edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships.RelationshipChecker
| Constructor and Description |
|---|
GrantChecker(edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractPropertyStatementAction action) |
| Modifier and Type | Method and Description |
|---|---|
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 a Grant, and if the self-editor:
1) is a Principal Investigator (PI) of that Grant, or
2) is a co-Principal Investigator (co-PI) of that Grant
|
public GrantChecker(edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractPropertyStatementAction action)
public edu.cornell.mannlib.vitro.webapp.auth.policy.ifaces.PolicyDecision isAuthorized(List<String> userUris)
Copyright © 2022. All rights reserved.