ucsdlib/damspas

View on GitHub
app/models/ability.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method custom_permissions has 102 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def custom_permissions

    can [:solr], :all
    def create_permissions
      #can :create, :all if user_groups.include? 'registered'
Severity: Major
Found in app/models/ability.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status