Hello, I'm making this website where we - surprise - need to have users to login. But I haven't been able to find any FAQ or How-To on how the user folders work or how you make any login and add users pages. Is there someone who have made a How-To on this subject ? Regards, -- ************************ Gitte Wange Jensen System Squid Developer MMManager Aps +45 29 72 79 72 gitte@mmmanager.org ************************
Simplest way is to change the ermissions on the folder/files you need authentication on. If you for example take the 'view' permission from the anonymous role then they can't view without logging in. You might want to check the Zope Book for more info: http://www.zope.org/Members/michel/ZB/Security.dtml Phil ----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: <zope@zope.org> Sent: Tuesday, April 03, 2001 8:45 AM Subject: [Zope] Authenticate users
Hello, I'm making this website where we - surprise - need to have users to login. But I haven't been able to find any FAQ or How-To on how the user folders work or how you make any login and add users pages.
Is there someone who have made a How-To on this subject ?
Regards, -- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ 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 )
Yes you are right about this, buy we have several levels of what a user must look at (matching the things they have paid for). So my guess is that a user log in and then I make some tests against my database everytime the user goes one level down. When you add a user to Zope does he/she get's a unique id or is it the username that is unique here ? Because the smart thing would be to save the userid in the database together with the data on the user. Gitte On 03 Apr 2001 09:24:37 +0100, Phil Harris wrote:
Simplest way is to change the ermissions on the folder/files you need authentication on.
If you for example take the 'view' permission from the anonymous role then they can't view without logging in.
You might want to check the Zope Book for more info:
http://www.zope.org/Members/michel/ZB/Security.dtml
Phil ----- Original Message ----- From: "Gitte Wange" <gitte@mmmanager.org> To: <zope@zope.org> Sent: Tuesday, April 03, 2001 8:45 AM Subject: [Zope] Authenticate users
Hello, I'm making this website where we - surprise - need to have users to login. But I haven't been able to find any FAQ or How-To on how the user folders work or how you make any login and add users pages.
Is there someone who have made a How-To on this subject ?
Regards, -- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ 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 )
Gitte Wange wrote:
Yes you are right about this, buy we have several levels of what a user must look at (matching the things they have paid for). So my guess is that a user log in and then I make some tests against my database everytime the user goes one level down.
Read about 'roles'. cheers, Chris PS: Have you read the Zope Book yet? Life is a lot easier than you seem to realise ;-)
participants (3)
-
Chris Withers -
Gitte Wange -
Phil Harris