[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/dublincore/configure.zcml Made DC adapters trusted adapters.

Jim Fulton jim at zope.com
Fri Jul 9 15:39:01 EDT 2004


Log message for revision 26366:
Made DC adapters trusted adapters.



-=-
Modified: Zope3/trunk/src/zope/app/dublincore/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/dublincore/configure.zcml	2004-07-09 19:38:37 UTC (rev 26365)
+++ Zope3/trunk/src/zope/app/dublincore/configure.zcml	2004-07-09 19:39:01 UTC (rev 26366)
@@ -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