Module: Aclize
- Included in:
- ActionController::Base
- Defined in:
- lib/aclize/acl/paths_registry.rb,
lib/aclize.rb,
lib/aclize/acl.rb,
lib/aclize/helper.rb,
lib/aclize/version.rb,
lib/aclize/acl/role.rb,
lib/aclize/acl/controllers_registry.rb
Overview
The policy for paths ACLs is slightly different from the controllers policy, because on rules conflicts, the deny rule always wins. Here is a brief description of the policy:
-
By default all the paths are not permitted
-
On rule conflict, the deny rule always wins
-
A path is permitted only if there’s an explicit permit rule
Defined Under Namespace
Modules: ClassMethods, Helper, Initializer Classes: Acl
Constant Summary collapse
- VERSION =
"0.2.2"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 12 |
# File 'lib/aclize.rb', line 9 def self.included(base) base.extend ClassMethods base.send :prepend, Initializer end |