Sha256: 87eb7bcf8ec6270949f55f408ee803be8716fba72f6f4646730041821667605f
Contents?: true
Size: 300 Bytes
Versions: 15
Compression:
Stored size: 300 Bytes
Contents
module Ddr module Auth class LockAbilityDefinitions < AbilityDefinitions DENIED_WHEN_LOCKED = [ :add_children, :update, :replace, :arrange, :publish, :unpublish, :grant ] def call cannot DENIED_WHEN_LOCKED, Ddr::Models::Base, :locked? => true end end end end
Version data entries
15 entries across 15 versions & 1 rubygems