[Zope-PTK] Using LoginManager

Fabio Forno sciasbat@inorbit.com
Wed, 09 Aug 2000 15:00:23 -0400


Fabio Forno wrote:
> 
> I'm trying to use the membership system based on LoginManager, but I've
> notice that there are some misbehaviours. I.E. when loggin as Reviewer I
> cant't get the pending items because the toolbox_actions of
> MemberFolder.MemberBase is never called (only the Zclasses for
> ZODBMember and SQLMember are derived from that class).
> 
> As I'm just a beginner with ZPatterns and LoginManager, is there a way
> to get that function called?
> 

I answer to myself ;)

I've solved the problem adding a Python method to the LoginManager
ZClass into The MembershipZ product. This python method overrides the
toolbox_actions from the Membership MemberMixin and it's equal to the
MemberBase one.

ByE,
Fabio Forno