Module: Workarea::Authorization::ClassMethods
- Defined in:
- app/controllers/workarea/authorization.rb
Instance Method Summary collapse
Instance Method Details
#required_permissions(*values) ⇒ Object
6 7 8 9 |
# File 'app/controllers/workarea/authorization.rb', line 6 def (*values) values = @required_permissions if values.blank? @required_permissions ||= values || [] end |
#reset_permissions! ⇒ Object
11 12 13 |
# File 'app/controllers/workarea/authorization.rb', line 11 def @required_permissions = nil end |