Class: Ddr::Auth::LockAbilityDefinitions
- Inherits:
-
AbilityDefinitions
- Object
- SimpleDelegator
- AbilityDefinitions
- Ddr::Auth::LockAbilityDefinitions
- Defined in:
- lib/ddr/auth/ability_definitions/lock_ability_definitions.rb
Constant Summary collapse
- DENIED_WHEN_LOCKED =
[ :add_children, :update, :replace, :arrange, :publish, :unpublish, :grant ]
Instance Method Summary collapse
Methods inherited from AbilityDefinitions
Instance Method Details
#call ⇒ Object
7 8 9 |
# File 'lib/ddr/auth/ability_definitions/lock_ability_definitions.rb', line 7 def call cannot DENIED_WHEN_LOCKED, Ddr::Models::Base, :locked? => true end |