NAME

Articulate::Authorisation

CONFIGURATION

components:
  authorisation:
    Articulate::Authorisation:
      rules:
        - Articulate::Authorisation::OwnerOverride
        - Articulate::Authorisation::AlwaysAllow

permitted

$self->permitted( $user_id, $permission, $location );

Asks each of the rules in turn whether the user has the specified permission for that location.

If so, returns the role under which they have that permission. Otherwise, returns undef. (Each provider should do likewise)

SEE ALSO