Class: LoyalPassport::Locker

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/loyal_passport/locker.rb

Constant Summary collapse

LOCKER_ABLE_LEVEL_CONFIG =

attr_accessible :title, :body

::LoyalCore::ConfigUtil.new(
  { :key => :nothing, :value => 0,    :desc => '不能操作' },
  { :key => :read,    :value => 2**0, :desc => '' },
  { :key => :write,   :value => 2**1, :desc => '' },
  { :key => :delete,  :value => 2**2, :desc => '' }
)