[CMF-checkins] CVS: Products/CMFCore - PortalFolder.py:1.45.4.8

Jens Vagelpohl jens at dataflake.org
Wed Aug 4 06:22:06 EDT 2004


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv18073/CMFCore

Modified Files:
      Tag: CMF-1_4-branch
	PortalFolder.py 
Log Message:
- add missing security declaration to CMFCore.PortalFolder.manage_addFolder
  (related to http://www.zope.org/Collectors/CMF/167)


=== Products/CMFCore/PortalFolder.py 1.45.4.7 => 1.45.4.8 ===
--- Products/CMFCore/PortalFolder.py:1.45.4.7	Wed Jul 28 13:05:37 2004
+++ Products/CMFCore/PortalFolder.py	Wed Aug  4 06:22:05 2004
@@ -487,6 +487,7 @@
     security.setPermissionDefault(AddPortalContent, ('Owner','Manager'))
     security.setPermissionDefault(AddPortalFolders, ('Owner','Manager'))
 
+    security.declareProtected(AddPortalFolders, 'manage_addFolder') 
     def manage_addFolder( self
                         , id
                         , title=''



More information about the CMF-checkins mailing list