[Zope-PAS] PropertiedUser role checking

Wichert Akkerman wichert at wiggy.net
Fri Apr 21 04:31:44 EDT 2006


Previously Wichert Akkerman wrote:
> then handling of 0 versus None seems confused: when checking for roles
> None is returned if the object is outside the acquisition context, but
> when checking local roles 0 is returned. Shouldn't 0 be returned in both
> places?

I should have looked at that a bit harder; since the code is walking up
in the acquisition chain the context changes so at best it can abort
the local loop but not the global process.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-PAS mailing list