concord-consortium/rigse

View on GitHub
rails/app/policies/user_policy.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Class UserPolicy has 21 methods (exceeds 20 allowed). Consider refactoring.
Open

class UserPolicy < ApplicationPolicy

  class Scope < Scope
    def resolve
      if user.has_role?('admin','manager')
Severity: Minor
Found in rails/app/policies/user_policy.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status