[Zope-Checkins] CVS: Zope/lib/python/AccessControl - Implementation.py:1.6

Shane Hathaway shane at zope.com
Tue Feb 3 15:33:19 EST 2004


Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv10216/lib/python/AccessControl

Modified Files:
	Implementation.py 
Log Message:
Until now, the security-policy-implementation directive had no effect.

When Implementation.py set the default policy, it set the
_implementation_set flag, preventing further changes.  Also,
Zope.Startup.run.configure() was not applying the security options.


=== Zope/lib/python/AccessControl/Implementation.py 1.5 => 1.6 ===
--- Zope/lib/python/AccessControl/Implementation.py:1.5	Thu Jan 29 16:31:18 2004
+++ Zope/lib/python/AccessControl/Implementation.py	Tue Feb  3 15:32:48 2004
@@ -96,3 +96,6 @@
 
 # start with the default, mostly because we need something for the tests
 setImplementation("C")
+
+# allow the implementation to change from the default
+_implementation_set = 0




More information about the Zope-Checkins mailing list