[Zope3-checkins] CVS: Zope3/src/zope/app/i18nfile - configure.zcml:1.4

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 9 07:39:17 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/i18nfile
In directory cvs.zope.org:/tmp/cvs-serv9698/src/zope/app/i18nfile

Modified Files:
	configure.zcml 
Log Message:


Removed permission attribute from factory directives, since all factories are
public now.




=== Zope3/src/zope/app/i18nfile/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/i18nfile/configure.zcml:1.3	Tue Mar  2 13:16:14 2004
+++ Zope3/src/zope/app/i18nfile/configure.zcml	Tue Mar  9 07:38:45 2004
@@ -46,31 +46,25 @@
   <content class=".i18nfile.I18nFile">
     <factory
         id="I18nFile"
-        permission="zope.ManageContent"
         title="I18n File"
         description="An Internationalized File"
         />
-
     <require
         permission="zope.View"
         interface="zope.app.file.interfaces.IReadFile"
         />
-
     <require
         permission="zope.ManageContent"
         interface="zope.app.file.interfaces.IWriteFile"
         />
-
     <require
         permission="zope.View"
         attributes="getDefaultLanguage getAvailableLanguages"
         />
-
     <require
         permission="zope.ManageContent"
         attributes="setDefaultLanguage removeLanguage"
         />
-
     <implements
        interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
        />
@@ -79,31 +73,26 @@
   <content class=".i18nimage.I18nImage">
     <factory
         id="I18nImage"
-        permission="zope.ManageContent"
         title="I18n Image"
         description="An Internationalized Image"
         />
-
     <require
         permission="zope.View"
         interface="zope.app.file.interfaces.IReadFile"
         attributes="getImageSize"
         />
-
     <require
         permission="zope.ManageContent"
         interface="zope.app.file.interfaces.IWriteFile"
         />
-
     <require
         permission="zope.View"
         attributes="getDefaultLanguage getAvailableLanguages"
         />
-
     <require
         permission="zope.ManageContent"
-        attributes="setDefaultLanguage removeLanguage" />
-
+        attributes="setDefaultLanguage removeLanguage" 
+        />
     <implements
        interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
        />




More information about the Zope3-Checkins mailing list