That works fine, but Id rather use the Zope authentication / authorization
system thats there than try to write my own along with the inevitable
problems that can occur.

Chris - you correct the comment says something about this could use
standard_error_message.... I did a quick hack of changing the source for
that file so it looks pretty (of course its totally static). Works for me.


----- Original Message -----
From: "Tom Deprez" <[EMAIL PROTECTED]>
To: "William JOYE" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 8:54 AM
Subject: Re: [Zope] How-to trap login error ?


> Hi,
>
> Great another Belgian Zope user. That makes 4?
>
> Ok, now to your q'n :
>
> What about
>
> <dtml-unless  "Authenticated_user.has_role('Manager')">
>   <dtml-call "RESPONSE.redirect('go_to_this_page_html')">
> </dtml-unless>
>
>
> Regards, Tom.
>
>
> At 17:21 21/09/2000 +0200, William JOYE wrote:
> >Hello,
> >
> >Some pages of my zope project are protected by acl_users. I would like to
> >redirect the wrong login to another page. How to do that ? Do I need
another
> >product ?
> >
> >I'm using Zope 2.1.6. Is it possible to do that with the
> >standard_error_message ?
> >
> >ATON Belgium
> >Avenue Reine Astrid, 7
> >B-1440 Wauthier Braine
> >Tél: +32(2)366.25.08
> >Fax: +32(2)366.25.14
> >
> >_______________________________________________
> >Zope maillist  -  [EMAIL PROTECTED]
> >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 )
> >
> >
>
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> 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 )
>


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to