[Zope-CMF] How do you stop the login prompt on a retracted item
in the cmf.
Tres Seaver
tseaver@zope.com
03 Sep 2002 13:55:25 -0400
On Tue, 2002-09-03 at 09:42, Lea Smith wrote:
> 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?
If you really want to distinguish between "never published" and
"once published but now retracted", you will need to customize your
workflow, using DCWorkflow (or by writing it yourself in Python).
At the moment, both of those conditions map to the same "state"
("private").
As an alternative, you might be able to write an external method which
examines the workflow history of the content, and handles retractions
seaparately.
Tres.
--
===============================================================
Tres Seaver tseaver@zope.com
Zope Corporation "Zope Dealers" http://www.zope.com