Skip to Content.
Sympa Menu

en - Re: [en@sympa] Add privileged owner to list(s) using command-line

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Mark Cairney <address@concealed>
  • To: <address@concealed>
  • Subject: Re: [en@sympa] Add privileged owner to list(s) using command-line
  • Date: Wed, 9 Oct 2024 10:19:35 +0100

Hi,

Brilliant, exactly what I was looking for and confirmed as working.

Note you do have to add the user as a normal owner first using sympa add e.g.

  cat "$owner" | sympa add -d --quiet --role=owner "$list_name"
  cat "$owner" | sympa set "$list_name" --role=owner profile='privileged'


On 09/10/2024 07:45, Jens Holzkämper wrote:
Hi,

Is there a way to add users as privileged owners of lists programmatically?

I've found the following command-line option but it only adds them as a normal owner and I can't find any reference to what role name would be appropriate in the docs:

sympa add -d --quiet --role="owner" address@concealed

Also having had a look at the Sympa/CLI/add.pm code it only mentions the following roles: member owner editor

Is this possible or has it just not been implemented?

you can set it in a second step with something like:

sympa set $listname --role owner gecos="$name" profile='privileged' <<<'$email'

Regards,
Jens Holzkämper

--
/****************************

Mark Cairney
ITI Enterprise Services
Information Services
University of Edinburgh

Tel: 0131 650 6565
Email: address@concealed

*******************************/

The University of Edinburgh is a charitable body, registered in Scotland,
with registration number SC005336.




Archive powered by MHonArc 2.6.19+.

Top of Page