rampart v1.0.1 Rampart.Authorize
The Authorize module defines the plug that handles the actual authorization of a request.
Configuration
On initialisation, the Authorize plug requires two options:
resource
- The resource that is being authorized, either a module or a struct in most casesaction
- The name of the action that is should be called on the policy.
Summary
Functions
Initialises the authorization plug with the supplied
options. Please see options
for more information