Skip to Content.
Sympa Menu

Documentation for Sympa

NAME

Sympa::Scenario - Authorization scenarios

SYNOPSIS

use Sympa::Scenario;

my $scenario = Sympa::Scenario->new($list, 'send', name => 'private');
my $result = $scenario->authz('md5', {sender => $sender});

DESCRIPTION

Sympa::Scenario provides feature of scenarios which perform authorization on functions of Sympa software against users and clients.

Methods

Functions

Attributes

Instance of Sympa::Scenario has these attributes:

Scenarios

A scenario file is named as function.name, where function is one of predefined function names, and name distinguishes policy.

If new() is called without name option, it is taken from configuration parameter of context. Some functions don’t have corresponding configuration parameter and name options for them are mandatory.

SEE ALSO

sympa_scenario(5).

HISTORY

authz() method obsoleting request_action() function was introduced on Sympa 6.2.41b. compile() function was added on Sympa 6.2.49b.

Top of Page