Module: Ability::Shared::LabUser
- Included in:
- LabManager
- Defined in:
- app/models/ability/shared/lab_user.rb
Overview
Prepend to an ability class to include Lab User privileges
Instance Method Summary collapse
Instance Method Details
#grant_privileges ⇒ Object
5 6 7 8 9 |
# File 'app/models/ability/shared/lab_user.rb', line 5 def grant_privileges super Rails.logger.debug { 'Granting LabUser privileges' } can :print_asset_group_labels, Study end |