[Zope-Checkins] CVS: Zope/lib/python/AccessControl - SecurityInfo.py:1.12.2.1
Brian Lloyd
brian@zope.com
Fri, 12 Apr 2002 11:38:16 -0400
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv10283
Modified Files:
Tag: Zope-2_5-branch
SecurityInfo.py
Log Message:
Fixed an obscure bug found during 275 investigation.
=== Zope/lib/python/AccessControl/SecurityInfo.py 1.12 => 1.12.2.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.