Sha256: 664431c6f68a8320c9d290d2358d4b6cf2e74e099424813930d55438181f9447
Contents?: true
Size: 689 Bytes
Versions: 29
Compression:
Stored size: 689 Bytes
Contents
# frozen_string_literal: true 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
29 entries across 29 versions & 1 rubygems