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):
group = interface.Attribute('the group from which the principal was removed')
    principal = interface.Attribute('the principal removed')

Small change: clarify that these are ids, and allow multiple principals to be specified.

def IPrincipalAddedToGroup(interface.Inteface):
group_id = interface.Attribute('the id of the group to which the principal was added') principal_ids = interface.Attribute('an iterable of one or more ids of principals added')

def IPrincipalRemovedFromGroup(interface.Inteface):
group_id = interface.Attribute('the id of the group from which the principal was removed') principal_ids = interface.Attribute('an iterable of one or more ids of principals removed')

Gary
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to