Sha256: 8cb3d1a7ea36f0f1d3230b8488bf1b54a4954a98423d30026f9934253f58b4d7
Contents?: true
Size: 504 Bytes
Versions: 13
Compression:
Stored size: 504 Bytes
Contents
module Ddr::Auth class Permissions READ = :read DOWNLOAD = :download ADD_CHILDREN = :add_children UPDATE = :update REPLACE = :replace ARRANGE = :arrange GRANT = :grant ALL = [ READ, DOWNLOAD, ADD_CHILDREN, UPDATE, REPLACE, ARRANGE, GRANT ] def self.const_missing(name) if name == :EDIT warn "[DEPRECATION] `EDIT` is deprecated. Use `UPDATE` instead." return UPDATE end super end end end
Version data entries
13 entries across 13 versions & 1 rubygems