Sha256: a5cd157bf78c5f428adb0b0e4ec6019f77973dfb1188808d8fab0ab0e900062b

Contents?: true

Size: 659 Bytes

Versions: 71

Compression:

Stored size: 659 Bytes

Contents

module Sipity
  # For a given processing workflow, what roles have a part to play in
  # the processing?
  class WorkflowRole < ActiveRecord::Base
    self.table_name = 'sipity_workflow_roles'

    belongs_to :role, class_name: 'Sipity::Role'
    belongs_to :workflow, class_name: 'Sipity::Workflow'
    has_many :workflow_responsibilities, dependent: :destroy, class_name: 'Sipity::WorkflowResponsibility'
    has_many :workflow_state_action_permissions, dependent: :destroy, class_name: 'Sipity::WorkflowStateActionPermission'
    has_many :entity_specific_responsibilities, dependent: :destroy, class_name: 'Sipity::EntitySpecificResponsibility'
  end
end

Version data entries

71 entries across 71 versions & 3 rubygems

Version Path
hyrax-2.9.6 app/models/sipity/workflow_role.rb
hyrax-2.9.5 app/models/sipity/workflow_role.rb
hyrax-2.9.4 app/models/sipity/workflow_role.rb
hyrax-2.9.3 app/models/sipity/workflow_role.rb
hyrax-2.9.2 app/models/sipity/workflow_role.rb
hyrax-2.9.1 app/models/sipity/workflow_role.rb
hyrax-2.9.0 app/models/sipity/workflow_role.rb
hyrax-2.8.0 app/models/sipity/workflow_role.rb
hyrax-2.7.2 app/models/sipity/workflow_role.rb
hyrax-2.7.1 app/models/sipity/workflow_role.rb
hyrax-2.7.0 app/models/sipity/workflow_role.rb
hyrax-2.6.0 app/models/sipity/workflow_role.rb
hyrax-3.0.0.pre.rc1 app/models/sipity/workflow_role.rb
hyrax-3.0.0.pre.beta3 app/models/sipity/workflow_role.rb
hyrax-2.5.1 app/models/sipity/workflow_role.rb
hyrax-2.5.0 app/models/sipity/workflow_role.rb
hyrax-3.0.0.pre.beta2 app/models/sipity/workflow_role.rb
hyrax-2.4.1 app/models/sipity/workflow_role.rb
hyrax-3.0.0.pre.beta1 app/models/sipity/workflow_role.rb
hyrax-2.4.0 app/models/sipity/workflow_role.rb