Class: Ddr::Auth::SuperuserAbilityDefinitions
- Inherits:
-
AbilityDefinitions
- Object
- SimpleDelegator
- AbilityDefinitions
- Ddr::Auth::SuperuserAbilityDefinitions
- Defined in:
- lib/ddr/auth/ability_definitions/superuser_ability_definitions.rb
Instance Method Summary collapse
-
#call ⇒ Object
This bypasses all checks, including ones that look at whether an action is possible, not just allowed.
Methods inherited from AbilityDefinitions
Instance Method Details
#call ⇒ Object
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.
7 8 9 |
# File 'lib/ddr/auth/ability_definitions/superuser_ability_definitions.rb', line 7 def call can :manage, :all end |