[Zope-Checkins] CVS: Zope2 - special_dtml.py:1.15.18.1

shane@digicool.com shane@digicool.com
Thu, 26 Apr 2001 18:25:38 -0400 (EDT)


Update of /cvs-repository/Zope2/lib/python/App
In directory korak:/tmp/cvs-serv10837/lib/python/App

Modified Files:
      Tag: RestrictedPythonBranch
	special_dtml.py 
Log Message:
Modified the way DTML namespaces implement security: now there is an
attribute of TemplateDicts called read_guard which implements the
"read guard" interface as defined by RestrictedPython.



--- Updated File special_dtml.py in package Zope2 --
--- special_dtml.py	2001/01/26 15:31:44	1.15
+++ special_dtml.py	2001/04/26 22:25:07	1.15.18.1
@@ -180,7 +180,7 @@
         cns = bound_data['caller_namespace']
         ns = self._Bindings_ns_class()
         push = ns._push
-        ns.validate = None
+        ns.read_guard = None
         
         req = None
         kw_bind = kw