[Mailman-Users] Read-only setup options for administration

Mark Sapiro mark at msapiro.net
Mon Dec 19 18:07:36 CET 2011


Narcis Garcia - GiLUG wrote:
>
>Is there an easy way to make some options not customizable by a list 
>administrator?
>
>We want, for example, max_message_size and/or other options cannot be 
>changed with the web interface.


You can override the definition of ADMIN_CATEGORIES in mm_cfg.py. See
the definition in Defaults.py for more information.

This controls what pages/sections are visible in the web admin
interface. However, even if you omit 'general' from the list, the
General Options category (which contains max_message_size) will always
be available.

The only other way is to edit the actual Mailman/Gui/ modules that
define the pages.


>I suppoose that then "config_list" can be useful to export, edit options 
>manually and import any configuration.


Yes, and to change just one or a few settings. I.e. config_list doesn't
change anything that isn't in its input.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list