Re: [Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-02-05 Thread Stephan Richter
On Thursday 12 January 2006 14:11, Gary Poster wrote: Problem: We want to perform actions when a user is added to a group, and possibly when a user is removed from a group. There is no hook point for this currently in the zope.app.authentication code. Solution: Fire events in the

Re: [Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Gary Poster
On Jan 12, 2006, at 2:11 PM, Gary Poster wrote: def IPrincipalAddedToGroup(interface.Inteface): group = interface.Attribute('the group to which the principal was added') principal = interface.Attribute('the principal added') def IPrincipalRemovedFromGroup(interface.Inteface):

Re: [Zope3-dev] Mini-proposal: zope.app.authentication group events

2006-01-12 Thread Fred Drake
On 1/12/06, Gary Poster [EMAIL PROTECTED] wrote: Problem: We want to perform actions when a user is added to a group, and possibly when a user is removed from a group. There is no hook point for this currently in the zope.app.authentication code. We certainly have use-cases for code that