| Module | ModelSecurity::ClassMethods |
| In: |
lib/model_security.rb
|
Install default permissions for all of the attributes that Rails defines.
Readable:
created_at, created_on, type, id, updated_at, updated_on, lock_version, position, parent_id, lft, rgt, table_name + '_count'
Writable:
updated_at, updated_on, lock_version, position, parent_id, lft, rgt
Writable only before the first save of an Active Record:
created_at, created_on, type, id
Return true if display of the attribute is permitted. attribute is a symbol, and should match a field in the database schema corresponding to this model.