[ZPT] CVS: Releases/Zope/lib/python/Products/PageTemplates - PageTemplateFile.py:1.10

Evan Simpson evan@zope.com
Tue, 29 Jan 2002 12:09:07 -0500


Update of /cvs-repository/Releases/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv1432/lib/python/Products/PageTemplates

Modified Files:
	PageTemplateFile.py 
Log Message:
Fix bogus security declarations on Script and PageTemplateFile


=== Releases/Zope/lib/python/Products/PageTemplates/PageTemplateFile.py 1.9 => 1.10 ===
 
     security = AccessControl.ClassSecurityInfo()
-    security.declareObjectProtected('View')
-    security.declareProtected('View', '__call__')
     security.declareProtected('View management screens',
       'read', 'document_src')
 
@@ -134,4 +132,3 @@
     def __setstate__(self, state):
         raise StorageError, ("Instance of AntiPersistent class %s "
                              "cannot be stored." % self.__class__.__name__)
-