[Zope] Tree Help
Todd Loomis
tloomis@dmso.mil
Tue, 14 Aug 2001 10:37:27 -0400
Hi:
I'm trying to create a file system with access control, however when I
login as some who shouldn't see everything I still do. Here's my code:
<dtml-var standard_html_header>
<h2>Test Site</h2>
<dtml-tree folders branches_expr="objectValues()" sort=title_or_id single=1
nowrap=0 skip_unauthorized=1> <dtml-if "meta_type=='Folder'"> <IMG
SRC="<dtml-var icon>" BORDER=0> <dtml-var title_or_id> <dtml-else> <A
HREF="folders/<dtml-var tree-item-url>"> <IMG SRC="<dtml-var icon>"
BORDER=0> <dtml-var title_or_id></A> </dtml-if> </dtml-tree>
<p>
<dtml-var standard_html_footer>
Also why does the User Folders always show up. I believe I set up the roles
and permissions right.
Thanks,
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Todd Loomis
Web Developer (SAIC)
Defense Modeling & Simulation Office
1901 N. Beauregard Street, Suite 500
Alexandria, VA 22311
Office: 703.824.3407 Fax: 703.379.3778
tloomis@dmso.mil