[Mailman-Users] how to disable html editing?

Todd Freedom_Lover at pobox.com
Fri Sep 26 02:45:45 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rae wrote:
> I would like to remove the option for the "Edit the public HTML pages" in 
> the administration area. Where can I find this to comment it out?

$ grep -rl "Edit the public HTML pages" ~mailman/
/var/mailman/Mailman/Cgi/admin.pyc
/var/mailman/Mailman/Cgi/admin.py

Edit the .py file (it might be in a different location depending on what you
set $prefix to when installing, the default is /usr/local/mailman, IIRC).
Remove or comment out these lines:

    otherlinks.AddItem(Link(mlist.GetScriptURL('edithtml'),
                            _('Edit the public HTML pages')))

That will get rid of the link.  If you don't want any admins to be able to
be able to edit the pages even if they know the URL, then you should remove
~mailman/cgi-bin/edithtml.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
Everyone should know of all information that others have deemed unfit for
public knowledge.
    -- Author Unknown

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/c4w5uv+09NZUB1oRAiVNAKCQUATWqRzL/ptvzMn1eklloAqzYgCg4U+o
NuaVYXNtDudc2m8TgWoOTQk=
=APYX
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list