14 Mar
2007
14 Mar
'07
5:33 p.m.
----- Original Message ----- From: "Tres Seaver" <tseaver@palladion.com> To: <zope@zope.org> Cc: <public-zope-CWUwpEBWKX0@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