pokonski/access-granted

View on GitHub

Showing 2 of 2 total issues

Method initialize has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def initialize(granted, action, subject, user = nil, conditions = {}, actions = [], block = nil)
Severity: Major
Found in lib/access-granted/permission.rb - About 50 mins to fix

    Method add_permission has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def add_permission(granted, action, subject, conditions, block)
    Severity: Minor
    Found in lib/access-granted/role.rb - About 35 mins to fix
      Severity
      Category
      Status
      Source
      Language