[Zope] RE: GUF works for zope2.1.6
DR KEITH KEE
keithkee@msn.com
Fri, 7 Apr 2000 07:29:17 +0800
Hi Phil and Tony
I have got GUF 1.2.0 working with zope 2.1.6 using Postgresql as the sql
server.
Until I got the debug trace out, I couldn't figure out what is happening.
My 2 cents worth...
1. Uncomment the python code line to generate debug information, restart
zope.
2. Remove the example codes (including jorge,etc - couldn't get that working
either).
3. Add in your own user and group info in your sql.
4. Insert 'Manager' in group table and map one user to it. [test it out
first with this user]
5. Check the management screen in GUF Folder - userlist, etc - ensure it is
getting correct info from sql.
6. Flush the cache in your GUF Folder before testing it as per instruction.
7. On the browser end, start a new browser to test a new user, otherwise
your superuser will always suceed.
8. Use the debug info from the zope terminal to guide you in your specific
setup.
9. Once that is working, remove the Manager role - defeats reason for GUF.
10. Insert local roles for better security with the debug trace to help you
set it up.
11. Two important privileges - access contents information and view must be
checked to view a zope resource.
Hope this helps.
Cheers
Keith
> Message: 3
> From: "Phil Harris" <phil.harris@zope.co.uk>
> To: "Zope List" <zope@zope.org>, "Tony McDonald" <tony.mcdonald@ncl.ac.uk>
> Subject: Re: [Zope] Does GUF work with 2.1.6?
> Date: Thu, 6 Apr 2000 17:52:52 +0100
> charset="iso-8859-1"
>
> Oh good it's not just me.
>
> I've been struggling with this for 2 days and still no answer.
>
> Seems I'm not alone in the dumb stakes ;)
>
> Phil
> phil.harris@zope.co.uk
>
> ----- Original Message -----
> From: "Tony McDonald" <tony.mcdonald@ncl.ac.uk>
> To: "Zope List" <zope@zope.org>
> Sent: Thursday, April 06, 2000 5:02 PM
> Subject: [Zope] Does GUF work with 2.1.6?
>
>
> > Hi all,
> > Can someone confirm that GenericUserFolder 1.2.0 works with Zope
> > 2.1.6? - I'm looking very closely at GUF as UserDB 1.3. doesn't work
> > fully with 2.1.6 and I really need SQL authentication.
> >
> > I've just installed a clean 2.1.3 and updated to 2.1.6 using the
> > mini-installer and then installed GUF 1.2.0.
> > I've followed the instructions at
> > http://www.zope.org/Members/hippy/GUF_SQL_crypt_1_1 which certainly
> > help in the setting up process, as well as reading the README in the
> > GUF distn.
> >
> > User 'jorge' has roles of
> > Anonymous
> > Manager
> > defaultrole
> > specialrole
> >
> > I've tried using cookie and standard authentication, and have set an
> > index_html doc in the same folder as the acl_users folder to have no
> > perms. for 'Anonymous' and view for 'Manager'. I always get a basic
> > authentication dialog pop up and 'jorge', 'secret' is not recognised.
> >
> > It looks a very interesting package, but at the moment, I'm stumped.
> >
> > any advice would be appreciated.
> > tone
> > ------
> > Dr Tony McDonald, FMCC, Networked Learning Environments Project
> > http://nle.ncl.ac.uk/
> > The Medical School, Newcastle University Tel: +44 191 222 5888
> > Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > 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 )