[Zope-Checkins] CVS: Zope/lib/python/AccessControl -
SecurityInfo.py:1.16.32.2
Brian Lloyd
brian at zope.com
Tue Oct 21 09:41:02 EDT 2003
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv29716
Modified Files:
Tag: Zope-2_7-branch
SecurityInfo.py
Log Message:
fix bug 761/ 338
=== Zope/lib/python/AccessControl/SecurityInfo.py 1.16.32.1 => 1.16.32.2 ===
--- Zope/lib/python/AccessControl/SecurityInfo.py:1.16.32.1 Mon Jul 21 12:35:07 2003
+++ Zope/lib/python/AccessControl/SecurityInfo.py Tue Oct 21 09:41:01 2003
@@ -87,9 +87,9 @@
self._setaccess(names, ACCESS_PRIVATE)
declareProtected__roles__=ACCESS_PRIVATE
- def declareProtected(self, permission_name, *names):
+ def declareProtected(self, permission_name, name, *names):
"""Declare names to be associated with a permission."""
- self._setaccess(names, permission_name)
+ self._setaccess((name,) + names, permission_name)
declareObjectPublic__roles__=ACCESS_PRIVATE
def declareObjectPublic(self):
More information about the Zope-Checkins
mailing list