Module: ControllerMixins::Authorization::ClassMethods
- Defined in:
- lib/controller_mixins/authorization.rb
Instance Method Summary collapse
Instance Method Details
#authorize_owners_with_client_show(object) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/controller_mixins/authorization.rb', line 6 def (object) access_control do allow :admin allow :developer, :of => object allow :client, :of => object, :to => :show end end |