[Zope] Re: Unauthorized error with ZCatalog
    Tres Seaver 
    tseaver at palladion.com
       
    Wed Mar 14 12:51:08 EDT 2007
    
    
  
-----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.
Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF+Cf7+gerLs4ltQ4RAkcmAJ9SJ7Q+f5zCRFaH9IrNHZ3YTNeo5gCfWLuY
y2t61Z+Fs9Fmf9lpDQn5JEs=
=KC63
-----END PGP SIGNATURE-----
    
    
More information about the Zope
mailing list