Hello,

At our site, we have a web page with a form that users fill to request a
new mailing list. If that mailing list gets approved, the admins use
Mailman's create.py to effectively create it.

A trivial patch allows the approval system (or any script) to pass the
list name, owner, etc to create.py via the url, and have the create form
already filled with those values, leaving only the password for the
administrators to enter. This removes the need for a lot of copy-pasting
into the create.py form and saves time.

Here is the patch. I suggest that it be integrated in Mailman, as it
would enable everyone to use a similar system easily.

pmf




--- create.py.orig      2006-08-23 12:48:15.213282750 -0400
+++ create.py   2006-08-23 13:39:24.585106500 -0400
@@ -58,7 +58,7 @@
         request_creation(doc)
     else:
         # Put up the list creation request form
-        request_creation(doc)
+        request_creation(doc, cgidata)
     doc.AddItem('<hr>')
     # Always add the footer and print the document
     doc.AddItem(_('Return to the ') +




_______________________________________________
Mailman-Developers mailing list
Mailman-Developers@python.org
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to