Sha256: aeaebc8939e081366dd7b2c49dc5508cba82abc80b3d8bd3c5477fd5cc008b2c

Contents?: true

Size: 880 Bytes

Versions: 25

Compression:

Stored size: 880 Bytes

Contents

# frozen_string_literal: true
module Sipity
  # In what capacity can an agent act upon all entities for the given
  # Workflow
  #
  # This is an analogue to the Sipity::EntitySpecificResponsibility, but
  # the responsibility only applies to all entities for the given
  # Workflow
  #
  # @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::Role for discussion of roles
  # @see Sipity::EntitySpecificResponsibility
  class WorkflowResponsibility < ActiveRecord::Base
    self.table_name = 'sipity_workflow_responsibilities'
    belongs_to :agent, class_name: 'Sipity::Agent'
    belongs_to :workflow_role, class_name: 'Sipity::WorkflowRole'
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/models/sipity/workflow_responsibility.rb
hyrax-5.0.0 app/models/sipity/workflow_responsibility.rb
hyrax-5.0.0.rc3 app/models/sipity/workflow_responsibility.rb
hyrax-5.0.0.rc2 app/models/sipity/workflow_responsibility.rb
hyrax-5.0.0.rc1 app/models/sipity/workflow_responsibility.rb
hyrax-3.6.0 app/models/sipity/workflow_responsibility.rb
hyrax-4.0.0 app/models/sipity/workflow_responsibility.rb
hyrax-4.0.0.rc3 app/models/sipity/workflow_responsibility.rb
hyrax-4.0.0.rc2 app/models/sipity/workflow_responsibility.rb
hyrax-4.0.0.rc1 app/models/sipity/workflow_responsibility.rb
hyrax-3.5.0 app/models/sipity/workflow_responsibility.rb
hyrax-4.0.0.beta2 app/models/sipity/workflow_responsibility.rb
hyrax-3.4.2 app/models/sipity/workflow_responsibility.rb
hyrax-4.0.0.beta1 app/models/sipity/workflow_responsibility.rb
hyrax-3.4.1 app/models/sipity/workflow_responsibility.rb
hyrax-3.4.0 app/models/sipity/workflow_responsibility.rb
hyrax-3.3.0 app/models/sipity/workflow_responsibility.rb
hyrax-3.2.0 app/models/sipity/workflow_responsibility.rb
hyrax-3.1.0 app/models/sipity/workflow_responsibility.rb
hyrax-3.0.2 app/models/sipity/workflow_responsibility.rb