On 5/29/21 7:31 PM, Stephen J. Turnbull wrote:
There won't be a membership adapter in Systers Mailman if there isn't one in GNU Mailman, because they used the stock user database and added fields to the User record to implement their membership extensions.
Membership adapter is a Mailman 2 feature that allowed use of an external membership database (such as a corporate LDAP system). I thought it was ported to Mailman 3 but maybe not.
Actually, it's not quite that simple. Mailman 2.1 defines a
MemberAdaptor class, the methods of which are used for everything to do
with list members and memberships and are all documented in the base
definition in Mailman/MemberAdaptor.py and all raise
NotImplementedError
. Also included in Mailman 2.1 is
Mailman/OldStyleMemberships.py which subclasses MemberAdaptor and
actually implements the methods, storing the data in the same config.pck
pickle as the list settings.
Various people have implemented various other MemberAdaptor classes for various purposes. https://bugs.launchpad.net/mailman/+bug/558106 contains several revisions of one using LDAP for the (read only) membership data.
The Mailman 3 analog of this is the IMember interface defined in mailman/interfaces/member.py and implemented in mailman/model/member.py
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan