Sha256: 1182491f8cab4a28c9ac8a8b82262860cb2c5bf7adc5571228d195e3523bd9a6
Contents?: true
Size: 643 Bytes
Versions: 38
Compression:
Stored size: 643 Bytes
Contents
module Ddr::Auth class Permissions extend Deprecation READ = :read DOWNLOAD = :download ADD_CHILDREN = :add_children UPDATE = :update REPLACE = :replace ARRANGE = :arrange PUBLISH = :publish UNPUBLISH = :unpublish AUDIT = :audit GRANT = :grant ALL = [ READ, DOWNLOAD, ADD_CHILDREN, UPDATE, REPLACE, ARRANGE, PUBLISH, UNPUBLISH, AUDIT, GRANT ] def self.const_missing(name) if name == :EDIT Deprecation.warn(self, "`EDIT` is deprecated. Use `UPDATE` instead.") return UPDATE end super end end end
Version data entries
38 entries across 38 versions & 1 rubygems