There are a whole host products that have done this before on Zope.org: http://www.zope.org/Products/user_management try using one of those... -- Andy McKay. ----- Original Message ----- From: "Jérôme Loisel" <jerome@levinux.org> To: <zope@zope.org> Sent: Thursday, March 22, 2001 3:49 PM Subject: [Zope] How do I force authentication?
Hello!
I am building a few Zope websites. These sites live as subfolders of my
root
zope install, in which I place common code. Those websites will be administered by non-technical people, so one of my main coding efforts is building alternate, easy-to-use admin screens.
I have one snag now. I want a login page which has Zope authenticate visitors. I don't want to take them to the real admin screens, I just want to have Zope authenticate them. I initially did this by writing a simple DTML method, login.html, which is not viewable by anyone with a role other than anonymous. That worked fine for a while.
That approach fails, however, when the user if defined in an acl_users folder which is lower in the object hierarchy than the login.html method. And that is the case for all my sub-site admins.
I have gone around this so far by copying login.html to all subsites... But I am sure there is a better solution. Can anyone point me in the right direction? Thanks for listening.
Cheers,
Jérôme Loisel
-- Jérôme Loisel Lévinux: GNU/Linux dans les communautés à Lévis
_______________________________________________ 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 )