Commit ccc10355 authored by Hanno Schlichting's avatar Hanno Schlichting

Moved over to AccessControl

parent d661a966
...@@ -13,14 +13,6 @@ ...@@ -13,14 +13,6 @@
"""Add security system support to Document Templates """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 # Setup RestrictedDTML
from AccessControl.ImplPython import guarded_getattr from AccessControl.ImplPython import guarded_getattr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment