[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Formulator/Fields - fields.zcml:1.1.4.4

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


Update of /cvs-repository/Zope3/lib/python/Zope/App/Formulator/Fields
In directory cvs.zope.org:/tmp/cvs-serv12187/lib/python/Zope/App/Formulator/Fields

Modified Files:
      Tag: Zope-3x-branch
	fields.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/Formulator/Fields/fields.zcml 1.1.4.3 => 1.1.4.4 ===
     field="Zope.App.Formulator.Fields.Generic.IntegerField." />
 
-  <security:protectClass 
-    class="Zope.App.Formulator.Fields.Generic.IntegerField."
-    permission_id="Zope.ManageContent" 
-    names="getValue" />
+  <content class=".Generic.IntegerField.">
+    <security:require
+        permission="Zope.ManageContent" 
+        attributes="getValue" />
+  </content>
 
 
   <formulator:registerField name="ListField"