[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/security/configure.zcml Added a new vocabulary that selects permission ids instead of permission

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun May 23 07:53:58 EDT 2004


Log message for revision 24895:

Added a new vocabulary that selects permission ids instead of permission
objects.




-=-
Modified: Zope3/trunk/src/zope/app/security/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/security/configure.zcml	2004-05-23 11:53:50 UTC (rev 24894)
+++ Zope3/trunk/src/zope/app/security/configure.zcml	2004-05-23 11:53:57 UTC (rev 24895)
@@ -15,6 +15,12 @@
       factory="zope.app.utility.vocabulary.UtilityVocabulary"
       interface="zope.app.security.interfaces.IPermission" />
 
+  <vocabulary 
+      name="Permission Ids"
+      factory="zope.app.utility.vocabulary.UtilityVocabulary"
+      interface="zope.app.security.interfaces.IPermission" 
+      nameOnly="True" />
+
   <include file="globalmodules.zcml" />
   <include file="_protections.zcml" />
   <include package=".browser" />




More information about the Zope3-Checkins mailing list