Sha256: a159df1846927dbfac2b0ed27bfb79644317189f05a853188bd09e2a7dbc9d83
Contents?: true
Size: 844 Bytes
Versions: 25
Compression:
Stored size: 844 Bytes
Contents
# frozen_string_literal: true module Sipity # In what capacity can an agent act upon the given entity? # # This is an analogue to the Sipity::WorkflowResponsibility, but # the responsibility only applies to the given entity. # # @example # An Advisor for a given Student would have an # EntitySpecificResponsibility to review an ETD submitted by the # given Student. # The Graduate School Reviewer would have a WorkflowResponsibility # to review all ETDs submitted. # # @see Sipity::WorkflowResponsibility class EntitySpecificResponsibility < ActiveRecord::Base self.table_name = 'sipity_entity_specific_responsibilities' belongs_to :entity, class_name: 'Sipity::Entity' belongs_to :workflow_role, class_name: 'Sipity::WorkflowRole' belongs_to :agent, class_name: 'Sipity::Agent' end end
Version data entries
25 entries across 25 versions & 1 rubygems