[Zope-Checkins] CVS: Zope/lib/python/App - class_init.py:1.12.16.1
Brian Lloyd
brian@zope.com
Fri, 12 Apr 2002 11:20:45 -0400
Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv5204
Modified Files:
Tag: Zope-2_5-branch
class_init.py
Log Message:
Fixed bug 275
=== Zope/lib/python/App/class_init.py 1.12 => 1.12.16.1 ===
for acp in self.__ac_permissions__:
pname, mnames = acp[:2]
- pr=PermissionRole(pname)
+ if len(acp) > 2:
+ roles = acp[2]
+ pr = PermissionRole(pname, roles)
+ else:
+ pr=PermissionRole(pname)
for mname in mnames:
dict[mname+'__roles__']=pr