[Zope] Custom unauthorized message

Randall F. Kern randy@spoke.net
Thu, 19 Apr 2001 09:15:53 -0700


Oh :(

Back to patching ZPublisher.HTTPResponse!
-Randy

> -----Original Message-----
> From: Andy McKay [mailto:andym@ActiveState.com]
> Sent: Thursday, April 19, 2001 9:13 AM
> To: Chris Withers; The Doctor What
> Cc: zope@zope.org
> Subject: Re: [Zope] Custom unauthorized message
>=20
>=20
> All right time to come clean, sorry this was such a big project I cant
> remember how some things got done.
>=20
> a) im not using the standard zope security model to raise=20
> 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...
>=20
> Sorry.
> --
>   Andy McKay.
>=20
>=20
> ----- 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
>=20
>=20
> > 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=20
> 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=20
> bug" virus.
> Please delet a bunch of files and forward this message to=20
> everyone you know.
> >
> > Please virus check your mails too, this one arrived with a=20
> 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 )
> >
>=20
>=20
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>=20