Class: Decidim::ConferenceUserRole

Inherits:
ApplicationRecord show all
Includes:
Loggable, Traceable
Defined in:
decidim-conferences/app/models/decidim/conference_user_role.rb

Overview

Defines a relation between a user and an conference, and what kind of relation does the user have.

Constant Summary collapse

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

Class Method Summary collapse

Class Method Details

.log_presenter_class_for(_log) ⇒ Object


18
19
20
# File 'decidim-conferences/app/models/decidim/conference_user_role.rb', line 18

def self.log_presenter_class_for(_log)
  Decidim::Conferences::AdminLog::ConferenceUserRolePresenter
end