Class: HrLite::RoleAssignment

Inherits:
ApplicationRecord show all
Includes:
Audited
Defined in:
app/models/hr_lite/role_assignment.rb

Overview

Who holds which role. Assignments are audited because granting somebody the money tier is exactly the kind of change that has to be explainable afterwards.

Constant Summary

Constants included from Audited

Audited::REDACTED, Audited::SKIPPED_ATTRIBUTES

Instance Method Summary collapse

Instance Method Details

#hr_lite_audit_labelObject



16
# File 'app/models/hr_lite/role_assignment.rb', line 16

def hr_lite_audit_label = "#{HrLite.display_name(user)}#{role.name}"