source: main/waeup.ikoba/branches/uli-fake-gw-provider/src/waeup/ikoba/ftesting.zcml @ 12646

Last change on this file since 12646 was 12639, checked in by uli, 10 years ago

Disable paypal conf in tests until paypal works again.

  • Property svn:style set to native
File size: 1.9 KB
RevLine 
[3521]1<configure
2   xmlns="http://namespaces.zope.org/zope"
[11949]3   xmlns:ikoba="http://namespaces.waeup.org/ikoba"
4   i18n_domain="waeup.ikoba"
5   package="waeup.ikoba"
[3521]6   >
7
8  <include package="grok" />
[11949]9  <includeOverrides package="waeup.ikoba" />
10  <include package="waeup.ikoba" file="mail.zcml" />
11  <include package="waeup.ikoba" file="async_single.zcml" />
[3521]12
[7580]13  <!-- Where should the datacenter reside by default? -->
[11949]14  <ikoba:datacenter
[7582]15      path="../../../parts/test/datacenter" />
[7580]16
[12060]17  <!-- Where can the Paypal config be found? -->
[12639]18  <!--
[12060]19  <ikoba:paypalconf
20      path="../../../etc/paypal-testing.conf" />
[12639]21  -->
[12060]22
[3521]23  <!-- Typical functional testing security setup -->
24  <securityPolicy
[4789]25      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
[3521]26      />
27
28  <unauthenticatedPrincipal
29      id="zope.anybody"
30      title="Unauthenticated User"
31      />
[4789]32  <unauthenticatedGroup id="zope.Anybody"
33      title="Unauthenticated Users" />
34  <authenticatedGroup id="zope.Authenticated"
35      title="Authenticated Users" />
36  <everybodyGroup id="zope.Everybody"
37      title="All Users" />
38
[5499]39  <!-- grant
[3521]40      permission="zope.View"
[4789]41      principal="zope.Anybody"
[5499]42      / -->
[4789]43  <grant
44      permission="zope.app.dublincore.view"
45      principal="zope.Anybody" />
46  <grant
47      permission="zope.View"
48      principal="zope.Authenticated"
49      />
50  <grant
51      permission="zope.app.dublincore.view"
52      principal="zope.Authenticated"
53      />
54  <grant
55      permission="waeup.Public"
56      principal="zope.Everybody"
57      />
[5499]58  <grant
59      permission="waeup.Anonymous"
60      principal="zope.Anybody"
61      />
[9855]62  <grant
63      permission="waeup.Authenticated"
64      principal="zope.Authenticated" />
[3521]65
[5499]66
[3521]67  <principal
68      id="zope.mgr"
69      title="Manager"
70      login="mgr"
71      password="mgrpw"
72      />
73
74  <role id="zope.Manager" title="Site Manager" />
75  <grantAll role="zope.Manager" />
76  <grant role="zope.Manager" principal="zope.mgr" />
77
78</configure>
Note: See TracBrowser for help on using the repository browser.