[Zope-Checkins] SVN: Zope/trunk/src/DocumentTemplate/security.py Moved over to AccessControl
Hanno Schlichting
hannosch at hannosch.eu
Sat Jun 19 12:23:56 EDT 2010
Log message for revision 113662:
Moved over to AccessControl
Changed:
U Zope/trunk/src/DocumentTemplate/security.py
-=-
Modified: Zope/trunk/src/DocumentTemplate/security.py
===================================================================
--- Zope/trunk/src/DocumentTemplate/security.py 2010-06-19 16:23:00 UTC (rev 113661)
+++ Zope/trunk/src/DocumentTemplate/security.py 2010-06-19 16:23:56 UTC (rev 113662)
@@ -13,14 +13,6 @@
"""Add security system support to Document Templates
"""
-import string, math, random, sets
-
-# Allow access to unprotected attributes
-string.__allow_access_to_unprotected_subobjects__=1
-math.__allow_access_to_unprotected_subobjects__=1
-random.__allow_access_to_unprotected_subobjects__=1
-sets.__allow_access_to_unprotected_subobjects__=1
-
# Setup RestrictedDTML
from AccessControl.ImplPython import guarded_getattr
More information about the Zope-Checkins
mailing list