[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - index_html.pt:1.5.4.1

Tres Seaver tseaver@zope.com
Wed, 10 Jul 2002 11:11:43 -0400


Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv31556/CMFDefault/skins/zpt_generic

Modified Files:
      Tag: CMF-1_3-branch
	index_html.pt 
Log Message:

  
    - Fix 'index_html' template to filter using 'View' permission
      (folders which were not viewable were triggering authentication,
      instead of being skipped).


=== CMF/CMFDefault/skins/zpt_generic/index_html.pt 1.5 => 1.5.4.1 ===
                                                            , 'File'
                                                            , 'News Item'
                                                            ) } );
-                   items python: auth_filter( raw_items, skip='' );
+                   items python: auth_filter( raw_items, skip='View' );
                   ">
   <div tal:condition="items">
 
@@ -71,7 +71,7 @@
                                                            , 'Favorite'
                                                            , 'Topic'
                                                            ) } );
-                   items python: auth_filter( raw_items, skip='' );
+                   items python: auth_filter( raw_items, skip='View' );
                   ">
   <div tal:condition="items">
   <h4> Related Resources </h4>
@@ -98,7 +98,7 @@
 
   <div tal:define="raw_items python: here.contentValues(
                             filter={ 'portal_type': 'Folder' } );
-                   items python: auth_filter( raw_items, skip='' );
+                   items python: auth_filter( raw_items, skip='View' );
                   ">
   <div tal:condition="items">
   <h4> Folders </h4>