Karen R McArthur wrote: >I have applied the "site_hide_list_options.patch" in order to limit >owner access to the list configurations via the web interface - however, >a side effect of this is that our mailman admin cannot access those >options either. (true, I can export the config, modify the text file >and re-apply the config to the list, but that is very labor intensive...)
You could just run bin/config_list with an input file consisting of only the setting(s) for the attribute(s) you want to change. >How can I limit the list owners - yet still allow the mailman admin >access to ALL the options via the web? Assuming you mean the patch at <http://sourceforge.net/tracker/index.php?func=detail&aid=1164457&group_id=103&atid=300103>, you could try the following modification to the MailList.py part of the patch. Warning! - untested. The modification is the addition of two lines immediately following if value: Index: trunk/Mailman/MailList.py =================================================================== --- trunk/Mailman/MailList.py (revision 16) +++ trunk/Mailman/MailList.py (working copy) @@ -426,6 +426,20 @@ if hasattr(gui, 'GetConfigInfo'): value = gui.GetConfigInfo(self, category, subcat) if value: + if self.CheckCookie(mm_cfg.AuthSiteAdmin): + return value + title = None + for item in value[1:]: + if not isinstance(item, TupleType): + if title is not None: + value.remove(title) + title = item + if not isinstance(item, TupleType) or len(item) < 5: + continue + if item[0] in mm_cfg.SITE_HIDE_LIST_OPTIONS: + value.remove(item) + else: + title = None return value -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9