[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService - localEventService.zcml:1.1.2.4.2.3

Steve Alexander steve@cat-box.net
Mon, 3 Jun 2002 18:57:50 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/LocalEventService
In directory cvs.zope.org:/tmp/cvs-serv30105/lib/python/Zope/App/OFS/Services/LocalEventService

Modified Files:
      Tag: Zope3InWonderland-branch
	localEventService.zcml 
Log Message:
wonderland updates to zcml files.


=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/localEventService.zcml 1.1.2.4.2.2 => 1.1.2.4.2.3 ===
 >
 
-<service:factoryFromClass name='Events'
-             class='.LocalEventService+'
-             permission='Zope.ManageServices'
-             title='Events'
-             description='An event service: use sparingly' />
+  <content class='.LocalEventService.'>
+    <security:require
+        permission="Zope.View"
+        names="publishEvent notify" />
+    <security:require
+        permission="Zope.ManageServices"
+        names="bound unbound subscribe unsubscribe subscribeOnBind
+               unsubscribedFrom subscribedTo" />
+  </content>
+  
+  <service:factoryFromClass
+      name='Events'
+      class='.LocalEventService.'
+      permission='Zope.ManageServices'
+      title='Events'
+      description='An event service: use sparingly' />
 
-  <security:protectClass class=".LocalEventService+"
-                         permission="Zope.View">
-    <security:protect 
-              names="bound unbound subscribe unsubscribe subscribeOnBind
-              unsubscribedFrom subscribedTo" 
-              permission="Zope.ManageServices" />
-    <security:protect
-              names="publishEvent notify"
-              permission="Zope.View" />
-  </security:protectClass>
-
-<include package=".Views" 
-         file="views.zcml" />
+  <include package=".Views" 
+           file="views.zcml" />
 
 </zopeConfigure>