[Zope] Re: Unauthorized error with ZCatalog

Jonathan dev101 at magma.ca
Wed Mar 14 13:33:30 EDT 2007


----- Original Message ----- 
From: "Tres Seaver" <tseaver at palladion.com>
To: <zope at zope.org>
Cc: <public-zope-CWUwpEBWKX0 at ciao.gmane.org>
Sent: Wednesday, March 14, 2007 12:51 PM
Subject: [Zope] Re: Unauthorized error with ZCatalog


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jonathan wrote:
> 
>> Is there any way to get Zope to treat my external method as if it had 
>> 'Manager' access privilege so that the restrictedTraverse call doesn't 
>> generate the "Unauthorized" error? (ie. in python scripts you can set a 
>> proxy role, but I don't know of anything similar for external methods).
>> 
>> Any and all ideas appreciated!
> 
> Look at the '_unrestrictedGetObject' method of the brain.

Exactly what I needed Tres.  Thanks very much!


Jonathan


More information about the Zope mailing list