Class Authorization::Reader::PrivilegesReader
In: lib/declarative_authorization/reader.rb
Parent: Object

The PrivilegeReader handles the part of the authorization DSL in a privileges block. Here, privilege hierarchies are defined.

Methods

Public Instance methods

Specifies privileges that are to be assigned as lower ones. Only to be used inside a privilege block.

Defines part of a privilege hierarchy. For the given privilege, included privileges may be defined in the block (through includes) or as option :includes. If the optional context is given, the privilege hierarchy is limited to that context.

[Validate]