List admins addition through command line.
Created by: dverdin
See Issue #524 for discussion.
The aim of this PR is to give administrators the possibility to add list administrators (owners or editors) through the command line. As it is based on a Request handler, it also introduces the possibility to do so through the Sympa API (SOAP, and later REST). It is complemented by two other PR, allowing deletion and update of list admins.
Adding :
- a Request handler dedicated to list admin addition,
- a sympa.pl command line option to add a list admin, based on this handler,
- tests for the handler module.
The command line allows the following options:
sympa.pl --add_list_admin --email=user@example.com --list=list@domain --role=role [ --profile=privileged|normal --info=<description> --visibility=conceal|noconceal --reception=mail|nomail --gecos=<a gecos> ]
- "--email" is the list admin's email address. It is mandatory.
- "--role" may specify "owner" or "editor". It is mandatory.
- "--list" is mandatory.