[Zope3-checkins] CVS: Zope3/src/zope/app/browser/security - configure.zcml:1.4

Jim Fulton jim@zope.com
Mon, 30 Dec 2002 18:50:56 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/security
In directory cvs.zope.org:/tmp/cvs-serv18207/src/zope/app/browser/security

Modified Files:
	configure.zcml 
Log Message:
Changed all single-page browser:view to use browser:page instead.

Got rid of superfluous defaultView directives.

Moved menu specifications into page tags, where possible.
 


=== Zope3/src/zope/app/browser/security/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/security/configure.zcml:1.3	Fri Dec 27 19:02:49 2002
+++ Zope3/src/zope/app/browser/security/configure.zcml	Mon Dec 30 18:50:26 2002
@@ -1,14 +1,18 @@
 <zopeConfigure xmlns="http://namespaces.zope.org/browser">
 
-  <view factory = ".permissionwidget.SinglePermissionWidget"
-	for = "zope.app.interfaces.security.IPermissionField"
-	name = "edit"
-        />
+  <page
+      for = "zope.app.interfaces.security.IPermissionField"
+      name = "edit"
+      class = ".permissionwidget.SinglePermissionWidget"
+      permission= "zope.Public"
+      />
 
-  <view factory = ".permissionwidget.DisplayWidget"
-	for = "zope.app.interfaces.security.IPermissionField"
-	name = "display"
-        />
+  <page 
+      for = "zope.app.interfaces.security.IPermissionField"
+      name = "display"
+      class = ".permissionwidget.DisplayWidget"
+      permission= "zope.Public"
+      />
 
   <include package=".grants" />