source: main/waeup.ikoba/trunk/src/waeup/ikoba/ftesting.zcml @ 12246

Last change on this file since 12246 was 12060, checked in by uli, 10 years ago

Merge changes from uli-payments back into trunk.

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