app/models/ability/administrator.rb
Method grant_privileges
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def grant_privileges # rubocop:todo Metrics/AbcSize
Rails.logger.debug { 'Granting Administrator privileges' }
# Labware
can %i[edit rename change_purpose edit_retention_instruction], Labware