[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Security - metaConfigure.py:1.1.2.9

Tres Seaver tseaver@zope.com
Wed, 28 Nov 2001 15:54:22 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	metaConfigure.py 
Log Message:
 - Add 'defineRole' directive.

=== Zope3/lib/python/Zope/App/Security/metaConfigure.py 1.1.2.8 => 1.1.2.9 ===
 from Zope.Configuration.meta import register
 from protectClass import protectClass, publicClass
-from PermissionRegistry import definePermission
+from PermissionRegistry import definePermission, defineRole
 
 def metaConfigure():
     register(namespace('security'), 'definePermission', definePermission)
+    register(namespace('security'), 'definePermission', defineRole)
     register(namespace('security'), 'protectClass', protectClass)
     register(namespace('security'), 'publicClass', publicClass)