[CMF-checkins] CVS: CMF - FSSTXMethod.py:1.2

shane@digicool.com shane@digicool.com
Thu, 21 Jun 2001 16:02:28 -0400 (EDT)


Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv32643

Modified Files:
	FSSTXMethod.py 
Log Message:
Since there is no filesystem equivalent, FSSTXMethod doesn't need to think
about security.



--- Updated File FSSTXMethod.py in package CMF --
--- FSSTXMethod.py	2001/05/30 02:53:16	1.1
+++ FSSTXMethod.py	2001/06/21 20:02:28	1.2
@@ -101,10 +101,6 @@
 from DirectoryView import registerFileExtension, registerMetaType, expandpath
 from FSObject import FSObject
 
-try:
-    from AccessControl import full_read_guard
-except ImportError:
-    pass
 
 class FSSTXMethod( FSObject ):
     """
@@ -200,14 +196,6 @@
                                        , RESPONSE=RESPONSE
                                        , cooked=self.cook()
                                        )
-
-    # Zope 2.3.x way:
-    def validate( self, inst, parent, name, value, md ):
-        return getSecurityManager().validate( inst, parent, name, value )
-
-    # Zope 2.4.x way:
-    def read_guard( self, ob ):
-        return full_read_guard( ob )
 
     security.declareProtected( CMFCorePermissions.FTPAccess, 'manage_FTPget' )
     def manage_FTPget( self ):