sanger/sequencescape

View on GitHub
app/models/ability/administrator.rb

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method grant_privileges has 29 lines of code (exceeds 25 allowed). Consider refactoring.
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
Severity: Minor
Found in app/models/ability/administrator.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status