How do I get the list of roles for the current principal?

I've tried

from zope.app.securitypolicy.principalrole import principalRoleManager

principalRoleManager.getRolesForPrincipal(self.request.principal)


and the list is empty

I'm currently defining principals in principals.zcml


tnx
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to