[Zope] problem with ZopeFind and objectValues

Dieter Maurer dieter@handshake.de
Wed, 5 Jul 2000 21:51:56 +0200 (CEST)


Jerome Alet writes:
 > > <dtml-in "ZopeFind(this(), obj_metatypes=['Folder'])">
 > >   <dtml-var id> - <dtml-var title>
 > > </dtml-in>
 > > 
 > > gives me the following error:
 > > 
 > > """Unauthorized
 > > 
 > > You are not authorized to access id."""
 > > 
 > > If I set a proxy role of manager to this dtml-method that doesn't change
 > > anything, it still doesn't work.
 > 
 > In fact if I give this method a proxy role of Manager then it works fine
 > if I access directly to this method from my browser. However if I call
 > this method from inside another dtml method then it seems that the method
 > loose its proxy role of manager.

Today, I read the "ZopeSecurity" artikel by Jim Fulton (--> zope.org).
It tells that this behaviour is changed for Zope 2.2.


Dieter