[Zope-Checkins] CVS: Zope/lib/python/AccessControl - SecurityInfo.py:1.9.32.1
Brian Lloyd
brian@zope.com
Fri, 12 Apr 2002 11:39:53 -0400
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv10490
Modified Files:
Tag: Zope-2_4-branch
SecurityInfo.py
Log Message:
Fixed obscure bug found during 275 investigation
=== Zope/lib/python/AccessControl/SecurityInfo.py 1.9 => 1.9.32.1 ===
self._setaccess(item[1], permission_name)
if len(item) > 2:
- self.setDefaultRoles(permission_name, item[2])
+ self.setPermissionDefault(permission_name, item[2])
# Set __roles__ for attributes declared public or private.
# Collect protected attribute names in ac_permissions.