[Zope] Permissions, files and folders

Dieter Maurer dieter at handshake.de
Mon Apr 17 15:07:39 EDT 2006


Erik Billing wrote at 2006-4-16 18:55 +0200:
>...
>Thanx, it worked fine when I allowed the unauthorized module, but I still
>wonder if this is the way I *should* do it, is there no easier way that does
>not incorporate an python script (or a similar clumsy dtml solution). It
>just feels a little overkill to write a specific script just to access the
>files in a directory.

You can use the "LazyFilter" from the "ZTUtils" package.
In fact, it is defined in "ZTUtils.Zope" (but exported via "ZTUtils")
and you can look there for its signature.

-- 
Dieter


More information about the Zope mailing list