[Zope] [python script] problem with AUTHENTICATED_USER

Chris Withers chris at simplistix.co.uk
Thu Apr 21 08:28:22 EDT 2005


Jürgen Herrmann wrote:

> hi:
> 
> AUTHENTICATED_USER is in REQUEST:
> 
> hence you could write
> ... self.REQUEST.AUTHENTICATED_USER.has_role(self, ["Manager"]) ...

Yes, but this is deprecated. Do what Andreas said :-)

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope mailing list