i try to fetch users from an rdbms to authenticate them in zope3.
I have created a custom AuthenticatorPlugin which reads the
user from an sqltable and return the PrincipalInfo when
username password is valid. This works so far.
Now the Problem:
I have role information in my rdbms table and i want that
my principals get these roles.
But i don´t know how can i assign these roles
to my principal.
Maybe something like that:
return PrincipalInfo(self.prefix+login, login, login, login,
In Zope2 PAS there is a IRolesPlugin which assign the role to
Maybe someone had an idea or an example for me.
Zope3-users mailing list