[CMF-checkins] CVS: CMF/CMFDefault - SkinnedFolder.py:1.19

Yvo Schubbe y.2004_ at wcm-solutions.de
Mon Feb 23 07:55:34 EST 2004


Update of /cvs-repository/CMF/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv9061/CMFDefault

Modified Files:
	SkinnedFolder.py 
Log Message:
- fixed some action inconsistencies (see CHANGES.txt for details)


=== CMF/CMFDefault/SkinnedFolder.py 1.18 => 1.19 ===
--- CMF/CMFDefault/SkinnedFolder.py:1.18	Fri Feb 20 03:50:19 2004
+++ CMF/CMFDefault/SkinnedFolder.py	Mon Feb 23 07:55:03 2004
@@ -21,6 +21,7 @@
 
 from Products.CMFCore.CMFCatalogAware import CMFCatalogAware
 from Products.CMFCore.CMFCorePermissions import AddPortalContent
+from Products.CMFCore.CMFCorePermissions import ListFolderContents
 from Products.CMFCore.CMFCorePermissions import ManageProperties
 from Products.CMFCore.CMFCorePermissions import ModifyPortalContent
 from Products.CMFCore.CMFCorePermissions import View
@@ -40,32 +41,33 @@
   , 'factory'        : 'addSkinnedFolder'
   , 'filter_content_types' : 0
   , 'immediate_view' : 'folder_edit_form'
-  , 'aliases'        : {'(Default)':'folder_view',
-                        'view':'folder_view'}
+  , 'aliases'        : {'(Default)': 'folder_view',
+                        'view': 'folder_view'}
   , 'actions'        : ( { 'id'            : 'view'
                          , 'name'          : 'View'
                          , 'action': 'string:${object_url}/folder_view'
                          , 'permissions'   : (View,)
-                         , 'category'      : 'folder'
                          }
                        , { 'id'            : 'edit'
                          , 'name'          : 'Edit'
                          , 'action': 'string:${object_url}/folder_edit_form'
                          , 'permissions'   : (ManageProperties,)
-                         , 'category'      : 'folder'
+                         }
+                       , { 'id'            : 'folderContents'
+                         , 'name'          : 'Folder contents'
+                         , 'action': 'string:${object_url}/folder_contents'
+                         , 'permissions'   : (ListFolderContents,)
                          }
                        , { 'id'            : 'new'
                          , 'name'          : 'New...'
                          , 'action': 'string:${object_url}/folder_factories'
                          , 'permissions'   : (AddPortalContent,)
-                         , 'category'      : 'folder'
                          , 'visible'       : 0
                          }
                        , { 'id'            : 'rename_items'
                          , 'name'          : 'Rename items'
                          , 'action': 'string:${object_url}/folder_rename_form'
                          , 'permissions'   : (AddPortalContent,)
-                         , 'category'      : 'folder'
                          , 'visible'       : 0
                          }
                        )




More information about the CMF-checkins mailing list