NAME
Articulate::Authorisation::OwnerOverride - always say yes to the owner
CONFIGURATION
Put this in your config:
plugins:
Articulate::Authorisation:
providers:
- Articulate::Authorisation::OwnerOverride
Or, if you want the owner
plugins:
Articulate::Authorisation:
providers:
- 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.