[Zope-DB] zsql in zclasses

Dieter Maurer dieter@handshake.de
Fri, 26 Apr 2002 22:16:54 +0200

Eric Adam writes:
 > I am trying to get a zsql method to function in a zclass. When an instance attempts to use the method, I get a permission denied error if I am not logged 
 > on as a manager. I'm sure this is some silly issue with properly setting up the security. I want any user authorized to access this object instance to call 
 > the zsql methods via DTML methods of the object. What is the best way to set this up?
You to the "Define permission" tab and map "Use database methods" to
something you like.