[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - metaConfigure.py:1.1.2.13
Guido van Rossum
guido@python.org
Wed, 12 Dec 2001 17:51:28 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/Security
In directory cvs.zope.org:/tmp/cvs-serv682
Modified Files:
Tag: Zope-3x-branch
metaConfigure.py
Log Message:
Fix broken tests: defineRole must now be imported from RoleRegistry.
=== Zope3/lib/python/Zope/App/Security/metaConfigure.py 1.1.2.12 => 1.1.2.13 ===
from protectClass import protectClass
from publicClass import publicClass
-from PermissionRegistry import definePermission, defineRole
+from PermissionRegistry import definePermission
+from RoleRegistry import defineRole
from SecurityManager import setSecurityPolicy
def setSecurityPolicy_directive( name ):