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

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


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

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/grants/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/browser/security/grants/configure.zcml:1.3	Mon Dec 30 10:31:05 2002
+++ Zope3/src/zope/app/browser/security/grants/configure.zcml	Mon Dec 30 18:50:26 2002
@@ -38,11 +38,12 @@
       action="@@grant.html"
       />
 
-  <browser:view 
+  <browser:page
     for="zope.app.interfaces.annotation.IAnnotatable"
     name="grant.html"
     permission="zope.Security"
-    template="grant.pt" />
+    template="grant.pt" 
+    />
 
 <!-- Principal Roles -->
 
@@ -64,10 +65,10 @@
 
 <!-- Principal Permission (not working) -->
 
-  <!-- browser:view
+  <!-- browser:page
       name="PrincipalPermissionsManagement"
       for="zope.app.interfaces.annotation.IAnnotatable"
-      factory=".principalpermissionview.PrincipalPermissionView" 
+      class=".principalpermissionview.PrincipalPermissionView" 
       permission="zope.Security"
       allow_attributes="index get_principal unsetPermissions denyPermissions
                         grantPermissions getUnsetPermissionsForPrincipal