Class: Decidim::ParticipatoryProcessUserRole

Inherits:
ApplicationRecord show all
Includes:
Loggable, 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 collapse

ROLES =
%w(admin collaborator moderator valuator).freeze

Class 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