[Zope3-checkins] SVN: Zope3/trunk/zopeskel/etc/ftesting.zcml Merged
from Zope X3-3.0 branch:
Jim Fulton
jim at zope.com
Thu Sep 2 04:36:04 EDT 2004
Log message for revision 27417:
Merged from Zope X3-3.0 branch:
r27395 | jim | 2004-09-01 15:15:30 -0400 (Wed, 01 Sep 2004) | 3 lines
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/trunk/zopeskel/etc/ftesting.zcml
-=-
Modified: Zope3/trunk/zopeskel/etc/ftesting.zcml
===================================================================
--- Zope3/trunk/zopeskel/etc/ftesting.zcml 2004-09-02 08:34:52 UTC (rev 27416)
+++ Zope3/trunk/zopeskel/etc/ftesting.zcml 2004-09-02 08:36:04 UTC (rev 27417)
@@ -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