[Zope] How do I force authentication?

Andy McKay andym@ActiveState.com
Thu, 22 Mar 2001 16:34:43 -0800


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=E9r=F4me 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 w=
ant
to
> have Zope authenticate them. I initially did this by writing a simple D=
TML
> method, login.html, which is not viewable by anyone with a role other t=
han
> 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=E9r=F4me Loisel
>
>
> --
> J=E9r=F4me Loisel
> L=E9vinux: GNU/Linux dans les communaut=E9s =E0 L=E9vis
>
> _______________________________________________
> 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 )
>