Class: HrLite::RoleAssignment
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- HrLite::RoleAssignment
- 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_label ⇒ Object
16 |
# File 'app/models/hr_lite/role_assignment.rb', line 16 def hr_lite_audit_label = "#{HrLite.display_name(user)} — #{role.name}" |