[Zope] Custom unauthorized message

Andy McKay andym@ActiveState.com
Thu, 19 Apr 2001 09:13:14 -0700


All right time to come clean, sorry this was such a big project I cant
remember how some things got done.

a) im not using the standard zope security model to raise errors, the few
places that do this are done in python or even dtml
b) what I did is raise a different error, "NotAllowed" which
standard_error_message does parse...

Sorry.
--
  Andy McKay.


----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "The Doctor What" <docwhat@gerf.org>
Cc: <zope@zope.org>
Sent: Thursday, April 19, 2001 8:06 AM
Subject: Re: [Zope] Custom unauthorized message


> The Doctor What wrote:
> >
> > Unfortunately, I have a reason:  It kills the traceback for
> > hardcoded error pages. :-(  This would be great if you have *no*
> > hardcoded pages except in the case of a catastrophic failure (ie,
> > the error page produces an error.
>
> Well, you answer your own point. There should be no hardcoded error
messages.
>
> The only one I knew of was for authentication errors. Andy McKay has found
a way
> around that but no-one else seems to be able to get it to work :-S
>
> cheers,
>
> Chris
>
> > You have been infected by the Unix variant of the "love bug" virus.
Please delet a bunch of files and forward this message to everyone you know.
>
> Please virus check your mails too, this one arrived with a lethal embedded
virus
> ;-)
>
> _______________________________________________
> 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 )
>