Module: WizAcl::AroModel::ClassMethods
- Defined in:
- lib/wizdog/acl/ext/aro_model.rb
Instance Method Summary collapse
Instance Method Details
#allow(acos = "*", operations = "*") ⇒ Object
13 14 15 |
# File 'lib/wizdog/acl/ext/aro_model.rb', line 13 def allow(acos = "*", operations = "*") Acl.instance.allow(self.name, acos, operations) end |
#deny(acos = "*", operations = "*") ⇒ Object
17 18 19 |
# File 'lib/wizdog/acl/ext/aro_model.rb', line 17 def deny(acos = "*", operations = "*") Acl.instance.allow(self.name, acos, operations) end |