[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/configure.zcml Merged from trunk:

Jim Fulton jim at zope.com
Fri Jul 9 18:31:48 EDT 2004


Log message for revision 26382:
Merged from trunk:

  r26366 | jim | 2004-07-09 15:39:01 -0400 (Fri, 09 Jul 2004) | 2 lines

Made DC adapters trusted adapters.



-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/configure.zcml
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/configure.zcml	2004-07-09 22:31:03 UTC (rev 26381)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/dublincore/configure.zcml	2004-07-09 22:31:48 UTC (rev 26382)
@@ -16,6 +16,7 @@
       factory=".annotatableadapter.ZDCAnnotatableAdapter"
       provides="zope.app.dublincore.interfaces.IWriteZopeDublinCore"
       for="zope.app.annotation.interfaces.IAnnotatable"
+      trusted="true"
       />
 
   <class class=".annotatableadapter.ZDCAnnotatableAdapter">
@@ -26,20 +27,10 @@
     <require
         permission="zope.app.dublincore.change"
         interface=".interfaces.IWritableGeneralDublinCore"
+        set_schema=".interfaces.IZopeDublinCore"
         />
   </class>
 
-  <content class=".annotatableadapter.ZDCAnnotationData">
-    <require
-        permission="zope.app.dublincore.view"
-        interface="zope.interface.common.mapping.IReadMapping"
-        />
-    <require
-        permission="zope.app.dublincore.change"
-        interface="zope.interface.common.mapping.IWriteMapping"
-        />
-  </content>
-
   <subscriber
       factory=".timeannotators.ModifiedAnnotator"
       for="zope.app.event.interfaces.IObjectModifiedEvent"



More information about the Zope3-Checkins mailing list