Class AdvisingRelationshipChecker


  • public class AdvisingRelationshipChecker
    extends edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships.RelationshipChecker
    Does the requested action involve a change to an Advising Relationship that the self-editor is authorized to modify?
    • Field Summary

      • Fields inherited from class edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships.RelationshipChecker

        NS_CORE, NS_OBO, URI_INHERES_IN, URI_REALIZES, URI_RELATED_BY, URI_RELATES
    • Constructor Summary

      Constructors 
      Constructor Description
      AdvisingRelationshipChecker​(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.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 Advising Relationship, and if the self-editor: 1) is an Advisor in that Relationship
      • Methods inherited from class edu.cornell.mannlib.vitro.webapp.auth.policy.specialrelationships.RelationshipChecker

        anyUrisInCommon, authorizedDecision, createSelector, createSelector, getObjectsOfLinkedProperty, getObjectsOfProperty, getObjectsThroughLinkingNode, isResourceOfType
    • Constructor Detail

      • AdvisingRelationshipChecker

        public AdvisingRelationshipChecker​(edu.cornell.mannlib.vitro.webapp.auth.requestedAction.propstmt.AbstractPropertyStatementAction action)
    • 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 Advising Relationship, and if the self-editor: 1) is an Advisor in that Relationship