[CMF-checkins] CVS: Products/CMFCore - FSImage.py:1.10
Jens Vagelpohl
jens@zope.com
Wed, 5 Dec 2001 15:50:56 -0500
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv23252/CMFCore
Modified Files:
FSImage.py
Log Message:
Added manage_FTPget which was missing.
=== Products/CMFCore/FSImage.py 1.9 => 1.10 ===
from utils import _dtmldir
-from CMFCorePermissions import ViewManagementScreens, View
+from CMFCorePermissions import ViewManagementScreens, View, FTPAccess
from FSObject import FSObject
from DirectoryView import registerFileExtension, registerMetaType, expandpath
@@ -121,6 +121,9 @@
"""
self._updateFromFS()
return self.content_type
+
+ security.declareProtected(FTPAccess, 'manage_FTPget')
+ manage_FTPget = index_html
Globals.InitializeClass(FSImage)