1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
4 | xmlns:kofacustomng="http://namespaces.waeup.org/kofacustomng" |
---|
5 | i18n_domain="kofacustom.nigeria" |
---|
6 | package="kofacustom.nigeria" |
---|
7 | > |
---|
8 | |
---|
9 | <include package="grok" /> |
---|
10 | <includeOverrides package="kofacustom.nigeria" /> |
---|
11 | <include package="kofacustom.nigeria" file="mail.zcml" /> |
---|
12 | |
---|
13 | <!-- Where should the datacenter reside by default? |
---|
14 | |
---|
15 | The path is relative to the `package` defined in top |
---|
16 | `configure` directive. |
---|
17 | --> |
---|
18 | <kofa:datacenter |
---|
19 | path="../../../parts/test/datacenter" /> |
---|
20 | |
---|
21 | <!-- Where can the paypal config be found --> |
---|
22 | <kofacustomng:paypalconf |
---|
23 | path="../../../etc/paypal-testing.conf" /> |
---|
24 | |
---|
25 | |
---|
26 | <!-- Typical functional testing security setup --> |
---|
27 | <securityPolicy |
---|
28 | component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" |
---|
29 | /> |
---|
30 | |
---|
31 | |
---|
32 | <unauthenticatedPrincipal |
---|
33 | id="zope.anybody" |
---|
34 | title="Unauthenticated User" |
---|
35 | /> |
---|
36 | <unauthenticatedGroup |
---|
37 | id="zope.Anybody" |
---|
38 | title="Unauthenticated Users" |
---|
39 | /> |
---|
40 | <authenticatedGroup |
---|
41 | id="zope.Authenticated" |
---|
42 | title="Authenticated Users" |
---|
43 | /> |
---|
44 | <everybodyGroup |
---|
45 | id="zope.Everybody" |
---|
46 | title="All Users" |
---|
47 | /> |
---|
48 | |
---|
49 | |
---|
50 | <!-- grant |
---|
51 | permission="zope.View" |
---|
52 | principal="zope.Anybody" |
---|
53 | / --> |
---|
54 | |
---|
55 | <grant |
---|
56 | permission="zope.app.dublincore.view" |
---|
57 | principal="zope.Anybody" /> |
---|
58 | <grant |
---|
59 | permission="zope.View" |
---|
60 | principal="zope.Authenticated" |
---|
61 | /> |
---|
62 | <grant |
---|
63 | permission="zope.app.dublincore.view" |
---|
64 | principal="zope.Authenticated" |
---|
65 | /> |
---|
66 | <grant |
---|
67 | permission="waeup.Public" |
---|
68 | principal="zope.Everybody" |
---|
69 | /> |
---|
70 | <grant |
---|
71 | permission="waeup.Anonymous" |
---|
72 | principal="zope.Anybody" |
---|
73 | /> |
---|
74 | |
---|
75 | <principal |
---|
76 | id="zope.mgr" |
---|
77 | title="Manager" |
---|
78 | login="mgr" |
---|
79 | password="mgrpw" |
---|
80 | /> |
---|
81 | |
---|
82 | <role |
---|
83 | id="zope.Manager" |
---|
84 | title="Site Manager" |
---|
85 | /> |
---|
86 | |
---|
87 | <grantAll |
---|
88 | role="zope.Manager" |
---|
89 | /> |
---|
90 | |
---|
91 | <grant |
---|
92 | role="zope.Manager" |
---|
93 | principal="zope.mgr" |
---|
94 | /> |
---|
95 | |
---|
96 | </configure> |
---|