The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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