[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
SecurityManagement.py:1.10
Brian Lloyd
brian at zope.com
Wed Jan 21 14:59:40 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv846/AccessControl
Modified Files:
SecurityManagement.py
Log Message:
fix sc loss bug
=== Zope/lib/python/AccessControl/SecurityManagement.py 1.9 => 1.10 ===
--- Zope/lib/python/AccessControl/SecurityManagement.py:1.9 Thu Jan 15 18:09:03 2004
+++ Zope/lib/python/AccessControl/SecurityManagement.py Wed Jan 21 14:59:09 2004
@@ -32,6 +32,11 @@
return manager
+def setSecurityManager(manager):
+ """install *manager* as current security manager for this thread."""
+ thread_id=get_ident()
+ _managers[thread_id]=manager
+
import SpecialUsers
# AccessControl.Implementation inserts SecurityManager.
More information about the Zope-Checkins
mailing list