[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/TranslationService - configure.zcml:1.1.6.1

Jim Fulton jim@zope.com
Mon, 21 Oct 2002 09:47:23 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/TranslationService
In directory cvs.zope.org:/tmp/cvs-serv29256/lib/python/Zope/App/OFS/Services/TranslationService

Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	configure.zcml 
Log Message:
Earlier today I fixed a bug in configuration conflict
checking. Unfortunately, I forgot to try running Zope after that
change. It turns out that there were a number of configuration errors
that were revealed by the fix and Zope would not start as a result.

This checkin fixes those configuration errors.


=== Zope3/lib/python/Zope/App/OFS/Services/TranslationService/configure.zcml 1.1 => 1.1.6.1 ===
--- Zope3/lib/python/Zope/App/OFS/Services/TranslationService/configure.zcml:1.1	Thu Jul 11 03:12:41 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/TranslationService/configure.zcml	Mon Oct 21 09:47:23 2002
@@ -18,9 +18,13 @@
 
 <!-- Setup Message Catalogs -->
 <content class=".MessageCatalog.">
-  <require permission="Zope.Security" interface="Zope.I18n.IMessageCatalog." />
+
+  <require permission="Zope.View" 
+      interface="Zope.I18n.IMessageCatalog.IReadMessageCatalog." />
+
   <require permission="Zope.ManageServices"
-      attributes="setMessage getMessageIds" />
+      interface="Zope.I18n.IMessageCatalog.IWriteMessageCatalog." />
+
 </content>
 
 <factory component=".MessageCatalog." id="Message Catalog"/>