[Zope-CMF] [ RFC ] Registration / Membership tool change

Jens Vagelpohl jens@digicool.com
Thu, 26 Apr 2001 13:32:57 -0400


hi everyone,

we are planning to make a small change to the registration- and membership
tools which is designed to shield the registration tool more from the
underlying user storage implementation. this will make it a little easier to
implement new membership frameworks with backends other than a standard zope
user folder.

right now the registration tool's "addMember" method makes two separate
calls when a new user is created. It calls "addMember" on the membership
tool and then retrieves the newly created member object in order to call
"setMemberProperties" on it.

the proposal is to remove the call to setMemberProperties from the
registration tool and to make this call inside addMember on the membership
tool instead. this necessitates passing all member properties into the
membership tool addMember, which would be the only change to the interface.

if anyone has done modifications to the membership system and has valid
reasons why this change should not be made, please speak up! otherwise we
will check the change into the CMF CVS trunk soon.

jens