[Zope] How-to trap login error ?

Tom Deprez tom.deprez@uz.kuleuven.ac.be
Thu, 21 Sep 2000 17:54:51 +0200


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  -  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 )
>
>