[Zope-CMF] How do you stop the login prompt on a retracted item in the cmf.

Dieter Maurer dieter@handshake.de
Tue, 3 Sep 2002 21:55:08 +0200


=?iso-8859-1?Q?Lea_Smith?= writes:
 > If someone has book marked a page that gets retracted
 > and try to access that page they get prompted by a
 > login prompt. 
 > Whats the best way to redirect someone to a page
 > saying the page they are trying to view has been
 > retracted by the owner?
Not easy.

One approach would be to customize the "login" form:

  It checks whether the user is already authenticated.
  If it does, it redirects to a page with adequate content.

  With this approach, you loose the ability of a person
  knowing the "Manager" password to upgrade its authentication.
  But, probably, this is better than the current behaviour.


Dieter