[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File/Views/VFS - vfs.zcml:1.1.4.3

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


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File/Views/VFS
In directory cvs.zope.org:/tmp/cvs-serv12187/lib/python/Zope/App/OFS/Content/File/Views/VFS

Modified Files:
      Tag: Zope-3x-branch
	vfs.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/Content/File/Views/VFS/vfs.zcml 1.1.4.2 => 1.1.4.3 ===
   <vfs:view name="vfs" 
             for="Zope.App.OFS.Content.File.IFile."
+            permission="Zope.ManageContent" 
+            allowed_interface="Zope.Publisher.VFS.IVFSFilePublisher."
             factory=".VFSFileView." />
-
-  <security:protectClass class=".VFSFileView."
-               permission_id="Zope.ManageContent" 
-               interface="Zope.Publisher.VFS.IVFSFilePublisher." />
-
 
 </zopeConfigure>