[Zope] Fw: ZSQL Methods in ZClasses, not working

Michel Pelletier michel@digicool.com
Mon, 02 Oct 2000 13:41:25 -0700


Just wanted to get this point archived... 
Thanks Michel.

Forwarded by Alexander Schonfeld <alex@garage.co.jp>
---------------- Original message follows ----------------
 From: Michel Pelletier <michel@digicool.com>
 To: alex@garage.co.jp
 Cc: " \(DC Support List\)" <dc_support_list@digicool.com>
 Date: Mon, 02 Oct 2000 13:41:25 -0700
 Subject: Re: [Support] [ZOPE Collector] Z SQL Methods Bug entry: ZSQL Methods in ZClasses, not working
--

alex@garage.co.jp wrote:
> 
> A new bug entry was added with the following information:
> 
> Title:  ZSQL Methods in ZClasses, not working
> 
> At: http://classic.zope.org:8080/Collector/Collector/1664/sview
> 
> Submitter:  Alex
> 
> Email:  alex@garage.co.jp
> 
> Description:  Adding a ZSQL method to a ZClass and trying to access it from a method in that class gives permission denied and no matter what the password, denies access.


You need to select *Use Database Methods* on your ZClasses *Permissions*
view, and then select each ZSQL method you create and map *Use Database
Methods* to *Use Database Methods*.

I haven't really groked why it's that hard, but it works.

-Michel