[Zope] Trouble with Generic User Folder

Matt Goodall mgg@isotek.co.uk
Tue, 22 Feb 2000 16:17:32 +0000


Michiel Toneman wrote:
> 
> Hi,
> 
> I've been trying to get something sensible done with
> GenericUserFolder, but keep on running into this problem:
> 
> -----------
> 2000-02-22T16:15:19 ERROR(200) GUF
> http://newserver:8080/test_access/acl_users/userAuthenticate raised
> an exception (('Unauthorized', 'You are not authorized to access
> <em>SQL_get_password</em>.', <traceback object at 85ec318>))
> -----------
> 
> SQL_get_password is a ZSQL method like:
> 
> ---------------------------
> SELECT password as real_password FROM users_tmp
>   WHERE
>      name=<dtml-sqlvar username type=string>
> ---------------------------
> with as Argument "username"
> 
> I've given all possible permissions to the SQL method,
> but no dice :(
> 
> Any suggestions?

I think you need to give the userAuthenticate and userList methods a
proxy role of "Anonymous".

Cheers, Matt.

-- 
Matt Goodall             |  Isotek Electronics Ltd
email: mgg@isotek.co.uk  |  Claro House, Servia Road
Tel: +44 113 2343202     |  Leeds, LS7 1NL
Fax: +44 113 2342918     |  England