[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Security - _protections.py:1.4
Jim Fulton
jim@zope.com
Sat, 30 Nov 2002 08:11:50 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv2039
Modified Files:
_protections.py
Log Message:
Disabled the BTree security assertions here because they conflict with
new assertions made in Checker.py. I'd prefer that the assertions be
made here so that Zope.Security doesn't depend on Persistence.
=== Zope3/lib/python/Zope/App/Security/_protections.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/Security/_protections.py:1.3 Tue Nov 19 18:25:14 2002
+++ Zope3/lib/python/Zope/App/Security/_protections.py Sat Nov 30 08:11:49 2002
@@ -47,9 +47,10 @@
defineChecker(type(items),
getCheckerForInstancesOf(tuple))
-
- for which in 'OO', 'II', 'OI', 'IO':
- _protect(which)
+
+# These now conflict with assertions elsewhere.
+## for which in 'OO', 'II', 'OI', 'IO':
+## _protect(which)
from Persistence.PersistentList import PersistentList