[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - ZopeSecurityPolicy.py:1.1.2.4

Tres Seaver tseaver@zope.com
Fri, 30 Nov 2001 16:17:08 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv12651

Modified Files:
      Tag: Zope-3x-branch
	ZopeSecurityPolicy.py 
Log Message:
 - Fix typo.

=== Zope3/lib/python/Zope/App/Security/ZopeSecurityPolicy.py 1.1.2.3 => 1.1.2.4 ===
         #   information-laden exception if the checks fail.
         #
-        roles = self._aggregateRolesFor( permission, value )
+        roles = self._listRolesFor( permission, value )
 
         if not roles:
             raise Unauthorized, "No roles have permission %s" % permission