[Zope-PAS] proposal: IUserAdder plugins

2007-05-04 Thread Miles
I seem to be generating a sizable proportion of the traffic on this list! Apologies in advance for another email... My use case is as follows: I have a zope website, a php forum and blog that make up my site, each with their own user databases. Whenever users register through the zope site

[Zope-PAS] Re: missing method in interfaces

2007-05-04 Thread Miles
Jens Vagelpohl wrote: On 4 May 2007, at 05:17, Miles wrote: Can I provide a patch to add it into the definition, and to zodbrolemanager? You're very welcome to provide any bug report or patch through the PAS collector: http://www.zope.org/Collectors/PAS/ jens Done http://www.zope.o

Re: [Zope-PAS] missing method in interfaces

2007-05-04 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4 May 2007, at 05:17, Miles wrote: Hi, The interfaces definition from the plugins directory defines: IRoleAssignerPlugin def doAssignRoleToPrincipal( principal_id, role ): However, it doesn't document any way to remove a role from a pri

[Zope-PAS] missing method in interfaces

2007-05-04 Thread Miles
Hi, The interfaces definition from the plugins directory defines: IRoleAssignerPlugin def doAssignRoleToPrincipal( principal_id, role ): However, it doesn't document any way to remove a role from a principal. Should there be a doRemoveRoleFromPrincipal( principal_id ) method for this?