[Zope3-checkins] CVS: Zope3/src/zope/app/dublincore - configure.zcml:1.4
Jim Fulton
jim@zope.com
Tue, 27 May 2003 08:56:25 -0400
Update of /cvs-repository/Zope3/src/zope/app/dublincore
In directory cvs.zope.org:/tmp/cvs-serv7640/src/zope/app/dublincore
Modified Files:
configure.zcml
Log Message:
Factored the IWritableGeneralDublinCore methods into a separate
subtype if IZopeDublinCore, IWriteZopeDublinCore, to facilitate
security assertions.
=== Zope3/src/zope/app/dublincore/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/dublincore/configure.zcml:1.3 Thu Mar 27 07:51:46 2003
+++ Zope3/src/zope/app/dublincore/configure.zcml Tue May 27 08:56:24 2003
@@ -4,9 +4,16 @@
>
<adapter
- factory="zope.app.dublincore.annotatableadapter.ZDCAnnotatableAdapter"
- provides="zope.app.interfaces.dublincore.IZopeDublinCore"
- for="zope.app.interfaces.annotation.IAnnotatable" />
+ factory=".annotatableadapter.ZDCAnnotatableAdapter"
+ provides="zope.app.interfaces.dublincore.IWriteZopeDublinCore"
+ for="zope.app.interfaces.annotation.IAnnotatable"
+ />
+
+ <class class=".annotatableadapter.ZDCAnnotatableAdapter">
+ <require permission="zope.View"
+ interface="zope.app.interfaces.dublincore.IZopeDublinCore"
+ />
+ </class>
<event:subscribe
subscriber = ".timeannotators.ModifiedAnnotator"
@@ -20,6 +27,8 @@
<event:subscribe
subscriber=".creatorannotator.CreatorAnnotator"
- event_types="zope.app.interfaces.event.IObjectModifiedEvent zope.app.interfaces.event.IObjectCreatedEvent"/>
+ event_types="zope.app.interfaces.event.IObjectModifiedEvent
+ zope.app.interfaces.event.IObjectCreatedEvent"
+ />
</zopeConfigure>