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

Last change on this file since 12782 was 12671, checked in by uli, 10 years ago

Merge changes from uli-fake-gw-provider 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  <!--
19  <ikoba:paypalconf
20      path="../../../etc/paypal-testing.conf" />
21  -->
22
23  <!-- Typical functional testing security setup -->
24  <securityPolicy
25      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
26      />
27
28  <unauthenticatedPrincipal
29      id="zope.anybody"
30      title="Unauthenticated User"
31      />
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
39  <!-- grant
40      permission="zope.View"
41      principal="zope.Anybody"
42      / -->
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      />
58  <grant
59      permission="waeup.Anonymous"
60      principal="zope.Anybody"
61      />
62  <grant
63      permission="waeup.Authenticated"
64      principal="zope.Authenticated" />
65
66
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.