[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
SecurityManagement.py:1.8.4.2
Brian Lloyd
brian at zope.com
Wed Jan 21 14:59:28 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv361/AccessControl
Modified Files:
Tag: Zope-2_7-branch
SecurityManagement.py
Log Message:
fix sc loss bug
=== Zope/lib/python/AccessControl/SecurityManagement.py 1.8.4.1 => 1.8.4.2 ===
--- Zope/lib/python/AccessControl/SecurityManagement.py:1.8.4.1 Thu Jan 8 18:33:43 2004
+++ Zope/lib/python/AccessControl/SecurityManagement.py Wed Jan 21 14:58:57 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