[CMF-checkins] CVS: CMF - PortalContent.py:1.22

Jeffrey Shell jeffrey@digicool.com
Mon, 11 Jun 2001 11:10:40 -0400 (EDT)


Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/home/jeffrey/InstanceHomes/about-stuff/CMF/CMFCore

Modified Files:
	PortalContent.py 
Log Message:
FTP methods 'manage_FTPstat', 'manage_FTPget', 'manage_FTPlist'
weren't declared protected under the FTPAccess setting.  This is
something that is normally done in the class that declares the method, 
but SimpleItem bends this rule.  :/



--- Updated File PortalContent.py in package CMF --
--- PortalContent.py	2001/06/08 15:07:21	1.21
+++ PortalContent.py	2001/06/11 15:10:40	1.22
@@ -127,6 +127,13 @@
 
     security.declareObjectProtected(CMFCorePermissions.View)
 
+    # The security for FTP methods aren't set up by default in our
+    # superclasses...  :(
+    security.declareProtected(CMFCorePermissions.FTPAccess,
+                              'manage_FTPstat',
+                              'manage_FTPget',
+                              'manage_FTPlist',)
+
     # indexed methods
     # ---------------