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

Last change on this file since 12163 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
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? -->
18  <ikoba:paypalconf
19      path="../../../etc/paypal-testing.conf" />
20
[3521]21  <!-- Typical functional testing security setup -->
22  <securityPolicy
[4789]23      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
[3521]24      />
25
26  <unauthenticatedPrincipal
27      id="zope.anybody"
28      title="Unauthenticated User"
29      />
[4789]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
[5499]37  <!-- grant
[3521]38      permission="zope.View"
[4789]39      principal="zope.Anybody"
[5499]40      / -->
[4789]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      />
[5499]56  <grant
57      permission="waeup.Anonymous"
58      principal="zope.Anybody"
59      />
[9855]60  <grant
61      permission="waeup.Authenticated"
62      principal="zope.Authenticated" />
[3521]63
[5499]64
[3521]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.