Class: ViewModel::AccessControl::Open
- Inherits:
-
ViewModel::AccessControl
- Object
- ViewModel::AccessControl
- ViewModel::AccessControl::Open
- Defined in:
- lib/view_model/access_control/open.rb
Constant Summary
Constants included from Callbacks
Instance Method Summary collapse
- #editable_check(_traversal_env) ⇒ Object
- #valid_edit_check(_traversal_env) ⇒ Object
- #visible_check(_traversal_env) ⇒ Object
Methods inherited from ViewModel::AccessControl
#editable!, #initialize, #visible!
Methods included from Callbacks
#ineligible, #run_callback, wrap_deserialize, wrap_serialize
Constructor Details
This class inherits a constructor from ViewModel::AccessControl
Instance Method Details
#editable_check(_traversal_env) ⇒ Object
8 9 10 |
# File 'lib/view_model/access_control/open.rb', line 8 def editable_check(_traversal_env) ViewModel::AccessControl::Result::PERMIT end |
#valid_edit_check(_traversal_env) ⇒ Object
12 13 14 |
# File 'lib/view_model/access_control/open.rb', line 12 def valid_edit_check(_traversal_env) ViewModel::AccessControl::Result::PERMIT end |
#visible_check(_traversal_env) ⇒ Object
4 5 6 |
# File 'lib/view_model/access_control/open.rb', line 4 def visible_check(_traversal_env) ViewModel::AccessControl::Result::PERMIT end |