[Zope] Problem with permission

Matthew T. Kromer matt@zope.com
Fri, 10 Jan 2003 13:23:25 -0500


Dieter Fischer wrote:

>Hello
>
>I've got a permission problem in Zope. I don't know if it is a Zope or an
>exUserFolder issue, so I'm posting to both lists.
>
>The point is, that I've a "Z SQL Method", and the user has the role which is
>allowed to do anything with this object. But I can only execute it when I
>give "Use Database Methods" to "Anonymous", what I realy don't like to do.
>If I don't give the permission to "Anonymous", the login box always appears.
>
>My software is:
>
>Zope Version  (Zope-2.6.1b1, python 2.1.3, linux2)
>Python Version  2.1.3 (#1, Apr 15 2002, 12:29:54) [GCC egcs-2.91.66
>19990314/Linux (egcs-1.1.2 release)]
>exUserFolder-0-10-10
>

Perhaps you could set a proxy role of "Use Database Methods" on your SQL 
method?  Beware of doing this if your SQL method can be used to execute 
arbitrary SQL.

>  
>