Scroll to navigation

Sympa::Request::Handler::add(3Sympa) sympa 6.2.70 Sympa::Request::Handler::add(3Sympa)

NAME

Sympa::Request::Handler::add - add request handler

DESCRIPTION

Adds a user to a list (requested by another user). Verifies the proper authorization and sends acknowledgements unless quiet add has been chosen (which requires the quiet_subscription setting to be "optional") or forced (which requires the quiet_subscription setting to be "on").

Note: The autharization secenario "add.*" is applicable only when the {role} attribute is 'member' (default). In the other cases the scenario processing should be skipped.

Attributes

See also "Attributes" in Sympa::Request.

{email}
Mandatory. E-mail of the user to be added.
{force}
Optional. If true value is specified, users will be added even if the list is closed.
{gecos}
Optional. Display name of the user to be added.
{role}
Optional. Role of the user to be added: 'member', 'owner' or 'editor'. Default value is 'member'.

This attribute was introduced on Sympa 6.2.67b.2.

{quiet}
Optional. Don't notify addition to the user.

SEE ALSO

Sympa::Request::Handler.

HISTORY

2024-01-07 6.2.70