[Zope] menu items based on user roles

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 22 Aug 2002 23:07:17 +0200


Jacob Behm wrote:
> I have a simple DTML tool that lists objectValues from the current
> folder to generate a menu.  I would like this menu to display only items
> that the user has permission to see.  I want the process to be
> transparent to the user.  It seems to me that I read about an easy way
> to do this. Does anyone know what I'm talking about?

hi,

use:
<dtml-in objectValues skip_unauthorized>

-mj
-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org