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
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 phil.harris@zope.co.uk ----- Original Message ----- From: "Vincent" <vinc.del@wanadoo.fr> To: "[Zope Org] (E-mail)" <zope@zope.org> 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 - 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 )
participants (2)
-
Phil Harris -
Vincent