[Zope] Z Classes and Z SQL Methods

Dieter Maurer dieter@handshake.de
Fri, 16 Nov 2001 18:30:30 +0100


Douwe Osinga writes:
 > I want to create a Z Class that communicates with a database. I first
 > created the Z Class, created an instance of it and put all my Connection and
 > SQL Methods in the _instance_, figuring I put them in the Z Class when I got
 > everything to work. I works now, but if I put everything in the Z Class,
 > Zope complains that access to my SQL methods is no unauthorized. Recreating
 > the method in the Z Class and copying the code doesn't help.
Did you adjust the "Permission Mapping" for "Use Database Methods"?

It is mapped to "disabled" by default...


Dieter