[Mailman-Users] How do I link into the archive page to controlaccess
Mark Sapiro
msapiro at value.net
Tue May 24 23:23:58 CEST 2005
precision at comcast.net wrote:
>I have a site with multiple email lists (all private). It's easy to keep
>unwanted persons from posting to the lists, but I would like to tie into/replace
>the main archive page for each list with a php script tied into the site which
>uses the user information/privileges that are already built into the web site to
>control access to the list. The web site uses the users email as their account
>and it is password protected. I have a privilege mechanism set up on the site
>to grant users access to various functionality. I'd like to use that same
>mechanism to grant privilege to viewing the lists. Is there a way that I can
>replace the "default" archive page with a php version which I could tie the
>existing privilege/security mechanism that already exists on the web site and
>control access to viewing the list through it?
If I understand it, you want to replace Mailman's private archive
access control with your own php based one.
I think you could make the archives public and add your php to the
archtoc.html and archtocnombox.html templates, but this would allow
people to bypass your validation by going directly to a message or
lower level page. You might be able to do it effectively by modifying
more templates, but I'm not sure.
See
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp
for info on modifying templates. After you modify an archive template,
you have to rebuild the archives (normally just
bin/arch --wipe <listname>
) to get the modifications into existing pages.
--
Mark Sapiro <msapiro at value.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