Thanks a lot Brad it also works for me ...
Only now I have a new and extraordinary bizarre problem:
The folder I want to protect has GUF, openticket and index.html.
When I log in I see index.html *but* while downloading index.html
he suddenly says Authorization failed. To go into openticket I have
to type login and password again as I have when going back to
index.html. there is obviously something wrong with the permissions,
but why then starts Zope to show half of index.html ? It stops showing
an image in the <dtml-var standard_html_header> which is defined in the
root folder - but it can be shown in the openticket folder!

Any hints ???
Mario

P.S: Want to look? http://134.96.119.88:8080/ login:test, password:test


> 
> Hmmm, I'm not sure about that one.  I use dtml-in and dtml-var in my GUF
> userList method.
> 
> <dtml-in SQL_get_users>
> <dtml-var user_account>
> 
>     -=Brad=-
> 
> 
> -----Original Message-----
> From: Mario Premke [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 17, 2000 3:25 PM
> To: Brad Mabe
> Cc: [EMAIL PROTECTED]
> Subject: Re: GUF Permission Problem
> 
> 
> Hi - You were absolutely right !!!
> 
> Thanks a lot!
> 
> There is still a problem remaining in my User-Authentication.
> In the DTML-method userList I have the SQL-Method :
> <dtml-return "sql_get_user_list()">
> When I write the usernames in userList everything goes well.
> Usind the SQL-method results in the Zope-message:
> 
> 2000-07-17T22:20:44 ERROR(200) GUF An exception was raised by
> http://134.96.119.88:8080/portal_folder/acl_users/userList
> (('Unsupported Type', 'userList method returned an unsupported type',
> <traceback object at 8592580>))
> 
> The Sql-method is tested an OK ...
> What does the error 'Unsupported Type' mean ???
> 
> Any hints will be appreciated ...
> MArio
> 
> >
> > Hi Mario,
> > In reference to your problem where GUF cannot access "real_password", try
> > turning on "Access contents information" for your role(s) in the security
> > permissions area of the acl_users folder.  I just ran into a similar
> problem
> > where I could access my sql methods, but could not access the results from
> > them.  Setting this permission for my user defined role in the acl_users
> > folder fixed it.
> >
> > Let me know how it goes and if you have any questions.
> >
> >        -=brad=-
> >
> 


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to