[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - IRolePermissionMap.py:1.1.2.5.2.2
Jim Fulton
jim@zope.com
Tue, 12 Feb 2002 10:06:06 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv23335
Modified Files:
Tag: Zope-3x-security_defactor-branch
IRolePermissionMap.py
Log Message:
Fixed doc string for getSetting, I think. Someone needs to varify that
None should be returned of there is no setting.
=== Zope3/lib/python/Zope/App/Security/IRolePermissionMap.py 1.1.2.5.2.1 => 1.1.2.5.2.2 ===
def getSetting(permission_id, role_id):
- """Return a sequence of roles for the given permission.
+ """Return the setting for the given permission id and role id
- If no roles have been granted this
- permission, then the empty list is returned.
+ If there is no setting, return None
"""
def getPrincipalsAndRoles():