[Zope-dev] [DTML] how to check an arbitrary role+permission ?

Dieter Maurer dieter@handshake.de
Sat, 18 Aug 2001 22:11:06 +0200 (CEST)


Simon Michael writes:
 > We ask dtml questions in this group, don't we ? Can't remember.
 > 
 > This is hopefully a simple one. I have a zwiki-based website, where
 > some of the pages are public and some are private. On one of the admin
 > pages I want to list all the public pages, ie those pages for which
 > the Anonymous role has View permision.
Look at ZopeFind, especially "obj_roles" and "obj_permission"...


Dieter