[Zope] TAL and Plone

Dieter Maurer dieter@handshake.de
Thu, 25 Jul 2002 20:45:51 +0200

NathanDunn@ctimi.com writes:
 > The following snip lists all the contents of the root folder:
 > ...
 > However, I would like to only list those items with "VIEW" permissions.  I
 > thought thats what the expression:
 >  tal:condition="python: obj.portal_membership.checkPermission('View', obj)"
 > would do.
Look at the "ZTUtils" package. It should contain a filter
with the effect "skip_unauthorized".