[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
ZopeGuards.py:1.16.2.1.2.2
Jim Fulton
jim at zope.com
Fri Jan 16 15:23:07 EST 2004
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv5145/lib/python/AccessControl
Modified Files:
Tag: caz_dict_list_redo
ZopeGuards.py
Log Message:
Reverted a change that suppressed passing names to validate when doing
item access.
=== Zope/lib/python/AccessControl/ZopeGuards.py 1.16.2.1.2.1 => 1.16.2.1.2.2 ===
--- Zope/lib/python/AccessControl/ZopeGuards.py:1.16.2.1.2.1 Fri Jan 16 14:43:18 2004
+++ Zope/lib/python/AccessControl/ZopeGuards.py Fri Jan 16 15:22:36 2004
@@ -67,7 +67,7 @@
if Containers(type(object)) and Containers(type(v)):
# Simple type. Short circuit.
return v
- if getSecurityManager().validate(object, object, None, v):
+ if getSecurityManager().validate(object, object, index, v):
return v
raise Unauthorized, 'unauthorized access to element %s' % `i`
More information about the Zope-Checkins
mailing list