[Zope] Common GenericUserFolder problem ...

Darran Edmundson dee124@rsphy1.anu.edu.au
Wed, 1 Mar 2000 00:37:54 +1100 (EST)


Hi All,

I bashed my head against GenericUserFolder for three hours tonight
trying to get the simplest of scenarios up and running - no luck
so I'm turning to the list for help.  My exact problem shows up
in the archives with advice from Zen:

>>got the simple login screen.  I entered the values 'jorge' for the username 
>>and 'secret' for the password.  When I pressed Ok, I didn't see the
>>index_html file for the folder, instead I got the login screen once
>>again.  Can someone help me out with some ideas on what I might have done 
>>wrong (or not done at all?)

>Sounds like you havn't granted permission for user jorge to view the
>documents. Simple way to test this is to edit userRoles so that
>jorge is a member of the Manager role.

I've done both this and explicitly returning _.int('1') in the
userAuthenticate method.  Same problem.  Turning debug on in the GUF
source yields:

2000-02-29T13:30:46 PROBLEM(100) GUF URL is http://127.0.0.1:8080/Test2 in validate
------
2000-02-29T13:30:46 INFO(0) GUF Successful authentication for user ost124 (http://127.0.0.1:8080/Test2/acl_users)
------
2000-02-29T13:30:46 PROBLEM(100) GUF gufid =        
------
2000-02-29T13:30:46 PROBLEM(100) GUF URL is http://127.0.0.1:8080/Test2
------
2000-02-29T13:30:46 PROBLEM(100) GUF Returning ost124 from http://127.0.0.1:8080/Test2/acl_users validate (roles=('Anonymous', 'Manager'))
------
2000-02-29T13:30:46 PROBLEM(100) GUF URL is http://127.0.0.1:8080/Test2 in validate
------
2000-02-29T13:30:46 PROBLEM(100) GUF Failed to authenticate with http://127.0.0.1:8080/Test2/acl_users - crawling up
------
2000-02-29T13:30:46 PROBLEM(100) GUF Failed Authentication with http://127.0.0.1:8080/acl_users

As the user is explicitly given the manager role which has all possible
permissions checked, how can I possibly fail authentication?  Any help
is much appreciated.

Cheers,
Darran.