1 | <configure xmlns="http://namespaces.zope.org/zope" |
---|
2 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
3 | xmlns:kofacustomng="http://namespaces.waeup.org/kofacustomng" |
---|
4 | i18n_domain="kofacustom.lpng"> |
---|
5 | |
---|
6 | <include package="kofacustom.lpng" /> |
---|
7 | <include package="kofacustom.lpng" file="mail.zcml" /> |
---|
8 | |
---|
9 | <!-- install job container |
---|
10 | |
---|
11 | install a job container for asynchronous jobs. Pick one of the |
---|
12 | two possibilites: 'single' for installation in the one big ZODB |
---|
13 | or 'multidb' for setup with a dedicated ZODB for job handling. |
---|
14 | --> |
---|
15 | <!-- include package="waeup.kofa" file="async_single.zcml" / --> |
---|
16 | <include package="waeup.kofa" file="async_multidb.zcml" /> |
---|
17 | |
---|
18 | <!-- install dispatcher and other needed async components |
---|
19 | |
---|
20 | install other needed components for asynchronous jobs. Pick one |
---|
21 | of the two possibilities: 'basic_dispatcher' for single ZODB |
---|
22 | setup, 'multidb_dispatcher' for setup with a dedicated ZODB for |
---|
23 | job handling. Make sure the setting matches the setting picked |
---|
24 | above. --> |
---|
25 | <!-- include package="zc.async" file="basic_dispatcher_policy.zcml" / --> |
---|
26 | <include package="zc.async" file="multidb_dispatcher_policy.zcml" /> |
---|
27 | |
---|
28 | <!-- Where should the datacenter reside by default? --> |
---|
29 | <kofa:datacenter |
---|
30 | path="${buildout:directory}/var/datacenter" /> |
---|
31 | |
---|
32 | <!-- Where can the paypal config be found --> |
---|
33 | <kofacustomng:paypalconf |
---|
34 | path="${buildout:directory}/etc/paypal.conf" /> |
---|
35 | |
---|
36 | <configure i18n_domain="kofacustom.lpng"> |
---|
37 | |
---|
38 | <unauthenticatedPrincipal id="zope.anybody" |
---|
39 | title="Unauthenticated User" /> |
---|
40 | <unauthenticatedGroup id="zope.Anybody" |
---|
41 | title="Unauthenticated Users" /> |
---|
42 | <authenticatedGroup id="zope.Authenticated" |
---|
43 | title="Authenticated Users" /> |
---|
44 | <everybodyGroup id="zope.Everybody" |
---|
45 | title="All Users" /> |
---|
46 | <principal id="zope.manager" |
---|
47 | title="Manager" |
---|
48 | login="grok" |
---|
49 | password_manager="SSHA" |
---|
50 | password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8" |
---|
51 | /> |
---|
52 | |
---|
53 | <!-- Replace the following directive if you do not want |
---|
54 | public access --> |
---|
55 | <grant permission="zope.app.dublincore.view" |
---|
56 | principal="zope.Anybody" /> |
---|
57 | <grant permission="zope.View" |
---|
58 | principal="zope.Authenticated" /> |
---|
59 | <grant permission="zope.app.dublincore.view" |
---|
60 | principal="zope.Authenticated" /> |
---|
61 | <grant permission="waeup.Public" |
---|
62 | principal="zope.Everybody" /> |
---|
63 | <grant permission="waeup.Anonymous" |
---|
64 | principal="zope.Anybody" /> |
---|
65 | <grant permission="waeup.Authenticated" |
---|
66 | principal="zope.Authenticated" /> |
---|
67 | |
---|
68 | <role id="zope.Manager" title="Site Manager" /> |
---|
69 | <grantAll role="zope.Manager" /> |
---|
70 | <grant role="zope.Manager" |
---|
71 | principal="zope.manager" /> |
---|
72 | </configure> |
---|
73 | </configure> |
---|