Skip Menu |

This queue is for tickets about the WWW-Mailman CPAN distribution.

Report information
The Basics
Id: 80218
Status: new
Priority: 0/
Queue: WWW-Mailman

People
Owner: Nobody in particular
Requestors: kurt.andersen [...] hp.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Small patch to make admin subscribe/unsubscribe work more easily
Date: Tue, 16 Oct 2012 14:06:58 +0000
To: "bug-WWW-Mailman [...] rt.cpan.org" <bug-WWW-Mailman [...] rt.cpan.org>
From: "Andersen, Kurt" <kurt.andersen [...] hp.com>
Using version 1.05, the following patch allows one to directly invoke the "members/add" page for bulk or automated subscriptions: Show quoted text
------------------cut here---------------- --- Mailman.pm.orig 2012-10-16 09:39:25.000000000 -0400 +++ Mailman.pm 2012-10-16 09:41:18.000000000 -0400 @@ -373,7 +373,7 @@ # so, use a bit of currying for my $section ( qw( - general passwords language nondigest digest + general members passwords language nondigest digest bounce archive gateway autoreply contentfilter topics ) ) ------------------end of patch--------------- With this change, one can call for adding one or more users just like changing options on the individual user pages: my $options = $mm->admin('members/add'); $options->{subscribees} = $addr; # can do more than one, separate with \r\n $mm->admin('members/add', $options); I haven't tested it yet, but I suspect that members/remove would work just as well using the unsubscribee entry. Cheers, Kurt Andersen