Sha256: 702ce44ca2f609fd2465b5ef567df5de4320a28d2edcbe41e4aa68570d52f65c
Contents?: true
Size: 274 Bytes
Versions: 43
Compression:
Stored size: 274 Bytes
Contents
module Ddr module Auth class LockAbilityDefinitions < AbilityDefinitions DENIED_WHEN_LOCKED = [ :add_children, :update, :replace, :arrange, :grant ] def call cannot DENIED_WHEN_LOCKED, Ddr::Resource, :locked? => true end end end end
Version data entries
43 entries across 43 versions & 1 rubygems