class Ddr::Auth::SuperuserAbilityDefinitions

Public Instance Methods

call() click to toggle source

This bypasses all checks, including ones that look at whether an action is possible, not just allowed. So superusers may initiate actions which will fail.

# File lib/ddr/auth/ability_definitions/superuser_ability_definitions.rb, line 7
def call
  can :manage, :all
end