Commit 65e36a70 authored by Brian Lloyd's avatar Brian Lloyd

fix always using Python policy

parent 8ccb82c0
......@@ -63,6 +63,10 @@ def setImplementation(name):
if hasattr(mod, "initialize"):
mod.initialize(impl)
from AccessControl.SecurityManager import setSecurityPolicy
policy = impl.ZopeSecurityPolicy(True, True)
setSecurityPolicy(policy)
_implementation_set = 1
_implementation_name = None
......
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