[Zope-Checkins] CVS: Zope/lib/python/AccessControl - ZopeSecurityPolicy.py:1.12.30.4
Shane Hathaway
shane@digicool.com
Thu, 18 Oct 2001 16:23:49 -0400
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv15155
Modified Files:
Tag: cAccessControl-review-branch
ZopeSecurityPolicy.py
Log Message:
Added a comment alluding to the fact that checkPermission() probably
needs to be expanded.
=== Zope/lib/python/AccessControl/ZopeSecurityPolicy.py 1.12.30.3 => 1.12.30.4 ===
def checkPermission(self, permission, object, context):
+ # XXX proxy roles and executable owner are not checked
roles=rolesForPermissionOn(permission, object)
if type(roles) is StringType:
roles=[roles]