[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image - configure.zcml:1.12

Jim Fulton jim@zope.com
Tue, 19 Nov 2002 18:22:15 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Image
In directory cvs.zope.org:/tmp/cvs-serv11180/Content/Image

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/Content/Image/configure.zcml 1.11 => 1.12 ===
--- Zope3/lib/python/Zope/App/OFS/Content/Image/configure.zcml:1.11	Mon Nov 11 16:08:12 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/Image/configure.zcml	Tue Nov 19 18:21:45 2002
@@ -14,11 +14,9 @@
 
     <require
         permission="Zope.View"
-        interface="Zope.App.OFS.Content.File.IFile.IReadFile" />
-
-    <require
-        permission="Zope.View"
-        interface=".Image.IImage" />
+        interface="Zope.App.OFS.Content.File.IFile.IReadFile"
+        attributes="getImageSize"
+        />
 
     <require
         permission="Zope.ManageContent"
@@ -38,10 +36,9 @@
         description="An Internationalized Image" />
     <require
         permission="Zope.View"
-        interface="Zope.App.OFS.Content.File.IFile.IReadFile" />
-    <require
-        permission="Zope.View"
-        interface=".Image.IImage" />
+        interface="Zope.App.OFS.Content.File.IFile.IReadFile"
+        attributes="getImageSize"
+        />
     <require
         permission="Zope.ManageContent"
         interface="Zope.App.OFS.Content.File.IFile.IWriteFile" />