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