Sha256: 83438f8c4f069ce8c98af7baaf1d43b0475c04f52f9d2906c5c2dd0e35e9d8eb
Contents?: true
Size: 565 Bytes
Versions: 17
Compression:
Stored size: 565 Bytes
Contents
module Ddr::Auth class Permissions extend Deprecation READ = :read DOWNLOAD = :download ADD_CHILDREN = :add_children UPDATE = :update REPLACE = :replace ARRANGE = :arrange AUDIT = :audit GRANT = :grant ALL = [ READ, DOWNLOAD, ADD_CHILDREN, UPDATE, REPLACE, ARRANGE, 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
17 entries across 17 versions & 1 rubygems