[Mailman-Users] Setting sitewide defaults that can't be changed?

Charles Sprickman spork at bway.net
Sat May 21 02:59:03 CEST 2005


On Thu, 19 May 2005, Matthew Newton wrote:

> You could also use my patch (number 1164457 on sf.net):
>
>  http://sourceforge.net/tracker/index.php?func=detail&aid=1164457&group_id=103&atid=300103
>
> This lets you write something like:
>
>  SITE_HIDE_LIST_OPTIONS = ['owner']
>
> in mm_cfg.py, and will then completely remove the "owner" option from
> the config pages. This is a list, so you can remove as many options as
> you like.

Thanks for that patch!  I was just about to ask for something like that. 
Between your patch and the "ADMIN_CATEGORIES" array, I've trimmed out the 
stuff that most of our users (announce-only for the most part) don't need.

That leads to the next question...  Where are the defaults initially set 
from?  A few of the things I've hid are things I'd still like to flip a 
value on.  I know I could do this with "config_list", but I'm wondering if 
there is somewhere to twiddle the initial defaults.

Thanks,

Charles

> Matthew
>
>
> -- 
> Matthew Newton <mcn4 at le.ac.uk>
>
> UNIX and e-mail Systems Administrator, Network Support Section,
> Computer Centre, University of Leicester,
> Leicester LE1 7RH, United Kingdom
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/spork%40bway.net
>
> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp
>



More information about the Mailman-Users mailing list