The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Articulate::Authorisation::OwnerOverride - always say yes to the owner

CONFIGURATION

Put this in your config:

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

Or, if you want the owner components: authorisation: Articulate::Authorisation: rules: - class: Articulate::Authorisation::OwnerOverride args: owner: administrator

ATTRIBUTES

owner

The username of the owner. Defaults to owner.

METHODS

new

Yep, new works just as you'd expect.

permitted

Grants any request if the user asking is the owner. By default this is the user called owner, but it could be someone else, if the owner attribute is set.