Class: Decidim::ParticipatoryProcessUserRole

Inherits:
ApplicationRecord show all
Includes:
Loggable, ParticipatorySpaceUser, Traceable
Defined in:
decidim-participatory_processes/app/models/decidim/participatory_process_user_role.rb

Overview

Defines a relation between a user and a participatory process, and what kind of relation does the user has.

Constant Summary

Constants included from ParticipatorySpaceUser

Decidim::ParticipatorySpaceUser::ROLES

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object



19
20
21
# File 'decidim-participatory_processes/app/models/decidim/participatory_process_user_role.rb', line 19

def self.log_presenter_class_for(_log)
  Decidim::ParticipatoryProcesses::AdminLog::ParticipatoryProcessUserRolePresenter
end

Instance Method Details

#target_space_associationObject



17
# File 'decidim-participatory_processes/app/models/decidim/participatory_process_user_role.rb', line 17

def target_space_association = :participatory_process