Vincent,

It's perfectly possible:

<dtml-if "AUTHENTICATED_USER.has_roles(['Manager'])">
this is the management page
<dtml-elif "AUTHENTICATED_USER.has_roles(['Member'])">
this is the normal members page
<dtml-else>
This is the joe public page
</dtml-if>

hth

Phil
[EMAIL PROTECTED]

----- Original Message -----
From: "Vincent" <[EMAIL PROTECTED]>
To: "[Zope Org] (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, August 03, 2000 1:43 PM
Subject: [Zope] different pages depending of the role....


> Hi,
>
> is it possible with Zope, to display different pages depending on the
roles
> of the logged people ?
>
> Thanks
>
> Vincent
>
> PS : If it is in a documentation, which one ? Thanks again
>
>
> _______________________________________________
> 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