[Mailman-Developers] Users, persistent storage, caches, etc.

Barry Warsaw barry at python.org
Fri Jul 7 05:26:17 CEST 2006


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

On Jul 6, 2006, at 2:11 PM, David Lee wrote:

> I've had to devise my own (very simple!) scheme for creating and  
> managing
> a user database of email-address and password.  (In our context, at
> present, this could just about be managed by Mailman admin staff,  
> using a
> command-line utility, but expansion to user-based self-maintenance,  
> and
> via the WWW interface would be desirable.)
>
> So it sounds as if at least two of us (Ethan and me) are actively  
> looking
> at implementing similar functionality (albeit initially for different
> 'local' reasons).
>
> So a clear steer from the Mailman seers and soothsayers would be most
> welcome so that Ethan's work and my work can aim in the same  
> direction as
> anticipated Mailman 'futures'.
>
> Indeed, if the Mailman folk happen already to have a sketch of a
> user-database scheme, that could be most useful to us...  (Or  
> Ethan: I'd
> be interested in tracking any work you do in this area!)

One thing you definitely want to be sure to do is to add the  
appropriate API calls to MemberAdaptor.py, which is the official  
interface to all member-related data.  You'll need an implementation  
as well, and that's where the user-centric architecture breaks down.   
However, it will soon be much easier to custom select a MemberAdaptor  
implementation, and in that case, you could conceivable write one  
that uses the OldStyleMemberAdaptor for all traditional user-related  
(list-centric) data, but then write a proxy or delegate that would  
store list-independent user data in a common place.

Rough sketch: a directory sibling of 'lists' called 'domains' to hold  
domain-specific data, and then probably site-specific data in data/.   
But cascading options and all that stuff will probably have to wait  
until MM3.

- -Barry


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iQCVAwUBRK3UWXEjvBPtnXfVAQJI3AP7BJD/nn3hi96N8zrxkjovs/3ux6GWyCST
XhMf2816eDwVLIn0B0Txw8F5WTFCNXdpyhGJxN4JqtVLeY4UDz6JFh0ktWpGPQml
fiZ96GWAOnIH3rFwy1+dXrVmmFDKX5jbrDSC22Gk0SGkphTZ/2yXREbfD4RY69VW
FhaDhDPt7uE=
=XFTP
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list