sanger/sequencescape

View on GitHub
app/models/ability/shared/lab_user.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

# Prepend to an ability class to include Lab User privileges
module Ability::Shared::LabUser
  def grant_privileges
    super
    Rails.logger.debug { 'Granting LabUser privileges' }
    can :print_asset_group_labels, Study
  end
end