Module: Authorization::Reader
- Defined in:
- lib/declarative_authorization/reader.rb
Overview
Parses an authorization configuration file in the authorization DSL and constructs a data model of its contents.
For examples and the modelled data model, see the README.
Also, see role definition methods
-
AuthorizationRulesReader#role,
-
AuthorizationRulesReader#includes,
-
AuthorizationRulesReader#title,
-
AuthorizationRulesReader#description
Methods for rule definition in roles
-
AuthorizationRulesReader#has_permission_on,
-
AuthorizationRulesReader#to,
-
AuthorizationRulesReader#if_attribute,
-
AuthorizationRulesReader#if_permitted_to
Methods to be used in if_attribute statements
-
AuthorizationRulesReader#contains,
-
AuthorizationRulesReader#does_not_contain,
-
AuthorizationRulesReader#intersects_with,
-
AuthorizationRulesReader#is,
-
AuthorizationRulesReader#is_not,
-
AuthorizationRulesReader#is_in,
-
AuthorizationRulesReader#is_not_in
And privilege definition methods
-
PrivilegesReader#privilege,
-
PrivilegesReader#includes
Defined Under Namespace
Classes: AuthorizationRulesReader, DSLError, DSLReader, DSLSyntaxError, PrivilegesReader