[Zope-PAS] PAS, Anonymous, and IRolesPlugin

Marc W. Mengel mengel at fnal.gov
Tue Oct 16 10:44:18 EDT 2007

Wichert Akkerman wrote:
> Previously Marc W. Mengel wrote:
>> It would appear that PAS never calls IRolesPlugins on Anonymous users --
>> is this on purpose?   (I was looking at a plugin that set roles based on
>> the remote IP address, etc. and they never happen for Anonymous users...)
> The AutoRoles product (see plone.org) has a workaround for that.

Ahh... So it looks like you have to return something from
{extract,authenicate}Credentials() to have your roles callback called?

I can do that...


More information about the Zope-PAS mailing list