[Zope3-Users] Group membership based on authenticator

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Feb 1 04:57:07 EST 2006


On Wednesday 01 February 2006 01:46, Marko Mikulicic wrote:
> <subscriber
>     for="zope.app.authentication.interfaces.IPrincipalCreated"
>     handler=".mytest.principalCreated"
>     />
>
> and then if the prefix of the "event.principal.id" is what I like  
> then add some group to it, but I don't like the solution

This is the right approach, I would just make the comparison a little bit 
smarter, looking up the prefix from the principal in the authentication 
utility.


Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list