[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/TranslationService - configure.zcml:1.2
Jim Fulton
jim@zope.com
Tue, 19 Nov 2002 18:21:46 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/TranslationService
In directory cvs.zope.org:/tmp/cvs-serv11180/Services/TranslationService
Modified Files:
configure.zcml
Log Message:
Fixed some bugs in interface-based security assertions.
These bugs had been obscured by a bug in the configuration machinery
that missed conflicts within a single configuration file.
=== Zope3/lib/python/Zope/App/OFS/Services/TranslationService/configure.zcml 1.1 => 1.2 ===
--- 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 Tue Nov 19 18:21:45 2002
@@ -11,6 +11,7 @@
interface="Zope.I18n.ITranslationService." />
<require permission="Zope.ManageServices"
interface="Zope.App.OFS.Container.IContainer." />
+ <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
</content>
<browser:icon name="zmi_icon" for="Zope.I18n.ITranslationService."
@@ -18,9 +19,16 @@
<!-- 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" />
+ <implements interface="Zope.App.OFS.Annotation.IAttributeAnnotatable." />
+ interface="Zope.I18n.IMessageCatalog.IWriteMessageCatalog." />
+
+
</content>
<factory component=".MessageCatalog." id="Message Catalog"/>