----- Original Message ----- From: "Tres Seaver" <[EMAIL PROTECTED]>
To: <zope@zope.org>
Cc: <[EMAIL PROTECTED]>
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
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to