[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/AddableService - addable-service.zcml:1.1.2.4

Jim Fulton jim@zope.com
Fri, 7 Jun 2002 10:41:44 -0400


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

Modified Files:
      Tag: Zope-3x-branch
	addable-service.zcml 
Log Message:
Merging in Zope3InWonderland-branch, which implemented the following
proposals (see
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/OldProposals): 
- RenameAllowToRequire

- GroupClassRelatedDirectivesInClassDirective

- ViewInterfaceAndSimplification

- ConsistentUseOfSpacesAsDelimitersInZCMLAttributes

- TwoArgumentViewConstructors

- ImplementsInZCML

- SimpleViewCreationInZCML

- RemoveGetView

- ReplaceProtectWithAllow

- ViewMethodsAsViews

- MergeProtectionAndComponentDefinitions

There were also various security fixes resulting of better integration
of security with components.


=== Zope3/lib/python/Zope/App/OFS/Services/AddableService/addable-service.zcml 1.1.2.3 => 1.1.2.4 ===
 >
 
-<security:protectClass class=".Addable+"
-                       permission_id="Zope.Public"
-                       interface=".IAddable+" />
-
-<serviceType name='AddableContent' 
-             interface='.IAddableService+' />
+  <content class=".Addable.">
+    <security:allow interface=".IAddable." />
+  </content>
+  
+  <serviceType id='AddableContent' 
+               interface='.IAddableService.' />
              
-<service name='AddableContent'
-         component='.GlobalAddableService.addableContent' />
+  <service serviceType='AddableContent'
+           component='.GlobalAddableService.addableContent' />
              
-<serviceType name='AddableServices' 
-             interface='.IAddableService+' />
+  <serviceType id='AddableServices' 
+               interface='.IAddableService.' />
 
-<service name='AddableServices'
-         component='.GlobalAddableService.addableServices' />
+  <service serviceType='AddableServices'
+           component='.GlobalAddableService.addableServices' />
 
 </zopeConfigure>