[Zope] GUF + SQL connection problem
Cesar A. K. Grossmann
cesar@rotnet.com.br
Tue, 11 Jul 2000 11:42:30 -0300
I'm trying to add a SQL connection to GUF, and getting an error when
trying step 8 of the How To ("HOWTO Use GenericUserFolder with an SQL
Database"):
"You are not authorized to change change_password_report because you do
not have proxy roles. "
The step 8 says (http://www.zope.org/Members/hippy/GUF_SQL_crypt_1_2):
[snip]
8. Set permissions to protect the use database.
It is now time to setup the permissions on the GUF objects to ensure
that the SQL methods can only be called the code that we have created.
Create a user defined role called Authoriser in the acl_users folder do
not give it any permissions.[ok: created at the folder that contains the
GUF]
set the 'Use Database Methods' permission for 'Authoriser' on all the
SQLMethods created above.[ok]
set the Proxy role "Authoriser" on:
change_password_report [oh-oh]
userAuthenticate
userList
userRoles
[snip]
I'm doing it as a user that have the 'Manager' role at the root of the
Zope site. The same username exists in the GUF, but I cannot change its
roles (trying this trashes the connection).
I'm using GUF 1-2-4. Zope is the 2.1.6, and connected to a PostgreSQL
7.0.1 (it works).
TIA
--
César A. K. Grossmann
ckant@usa.net
http://members.xoom.com/ckant/