Skip to Content.
Sympa Menu

en - [sympa-users] List admin add notification does not honour reception mode

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-users] List admin add notification does not honour reception mode
  • Date: Mon, 16 Feb 2015 22:06:59 +0000

As the subject says, in the 6.1.x branch, when adding a new Admin (owner or editor) for a list via the web interface, the ‘reception’ option is not honoured.  In other words, if you set up a new Editor with a reception of ‘nomail’, they will still be notified that they have been delegated Editor privs for this list.  This is not ideal in some cases, where the new editor will be annoyed by the notification email.  I also note that no notification is sent when people *lose* admin rights, though that is an issue for another time.

 

To fix this, you can simply edit wwsympa.fcgi somewhere around line 9650, and put a test on ‘reception’ around the send_notify_to_user function call:

 

# SJS Change : only if reception!=nomail

              if( $entry->{'reception'} ne 'nomail' ) {

                ## Notify the new list owner/editor

                $list->send_notify_to_user('added_as_listadmin', $entry->{'email'},{'admin_type' => $admin_type, 'delegator' => $param->{'user'}{'email'}});

              }

# SJS end

 

I’ll log this in the bug tracker later…

 

Steve

 

Steve Shipway

University of Auckland

UNIX Systems Design Team Lead

address@concealed

+64 (9) 3737 599 ext 86487

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature



  • [sympa-users] List admin add notification does not honour reception mode, Steve Shipway, 02/16/2015

Archive powered by MHonArc 2.6.19+.

Top of Page