[Zope3-checkins] SVN: Zope3/branches/ZopeX3-3.0/zopeskel/etc/ftesting.zcml Copied from the dev ftesting.zcml logic that creates a global manager

Jim Fulton jim at zope.com
Wed Sep 1 15:15:30 EDT 2004


Log message for revision 27395:
  Copied from the dev ftesting.zcml logic that creates a global manager
  that can make a local grant of the manager role to the test manager.
  


Changed:
  U   Zope3/branches/ZopeX3-3.0/zopeskel/etc/ftesting.zcml


-=-
Modified: Zope3/branches/ZopeX3-3.0/zopeskel/etc/ftesting.zcml
===================================================================
--- Zope3/branches/ZopeX3-3.0/zopeskel/etc/ftesting.zcml	2004-09-01 18:58:10 UTC (rev 27394)
+++ Zope3/branches/ZopeX3-3.0/zopeskel/etc/ftesting.zcml	2004-09-01 19:15:30 UTC (rev 27395)
@@ -19,14 +19,22 @@
       id="zope.anybody"
       title="Unauthenticated User" />
 
+  <!-- Principal that tests generally run as -->
   <principal
       id="zope.mgr"
       title="Manager"
       login="mgr"
       password="mgrpw" />
 
-  <grant role="zope.Manager" principal="zope.mgr" />
+  <!-- Bootstrap principal used to make local grant to the principal above -->
+  <principal
+      id="zope.globalmgr"
+      title="Manager"
+      login="globalmgr"
+      password="globalmgrpw" />
 
+  <grant role="zope.Manager" principal="zope.globalmgr" />
+
   <includeOverrides file="overrides_ftesting.zcml" />
 
 </configure>



More information about the Zope3-Checkins mailing list