[Zope] How to distinguish between objects with and without ac
cess restrictions
Brian Lloyd
Brian@digicool.com
Wed, 10 Nov 1999 09:20:11 -0500
> Hello again,
>
> after a week or so without any zoping (bad days indeed ;-) I have
> another problem with an automatic folder list: I combine some sites in
> one Zope site and have on the top page a list of the available sites.
> It's just something like
>
> <UL>
> <dtml-in "objectValues(['Folder'])">
> <LI><A HREF="<dtml-var id>"><dtml-var title></A>
> </dtml-in>
> </UL>
>
> Well, no problem ... except when there are (and there is) folders,
> that are not accessible to the public. Then you can only view the hole
> page with a password. One solution is to make this page a proxy for
> "manager" (and as far as I see is there no way to do it otherwise,
> right?).
Try this and let me know how it works:
<dtml-in "objectValues(['Folder'])" skip_unauthorized>
<LI><A HREF="<dtml-var id>"><dtml-var title></A>
</dtml-in>
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com