1 | <configure xmlns="http://namespaces.zope.org/zope" |
---|
2 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
3 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
4 | i18n_domain="kofacustom.udss"> |
---|
5 | |
---|
6 | <include package="kofacustom.udss" /> |
---|
7 | <include package="kofacustom.udss" 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 | <configure i18n_domain="kofacustom.udss"> |
---|
33 | |
---|
34 | <unauthenticatedPrincipal id="zope.anybody" |
---|
35 | title="Unauthenticated User" /> |
---|
36 | <unauthenticatedGroup id="zope.Anybody" |
---|
37 | title="Unauthenticated Users" /> |
---|
38 | <authenticatedGroup id="zope.Authenticated" |
---|
39 | title="Authenticated Users" /> |
---|
40 | <everybodyGroup id="zope.Everybody" |
---|
41 | title="All Users" /> |
---|
42 | <principal id="zope.manager" |
---|
43 | title="Manager" |
---|
44 | login="grok" |
---|
45 | password_manager="SSHA" |
---|
46 | password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8" |
---|
47 | /> |
---|
48 | |
---|
49 | <!-- Replace the following directive if you do not want |
---|
50 | public access --> |
---|
51 | <grant permission="zope.app.dublincore.view" |
---|
52 | principal="zope.Anybody" /> |
---|
53 | <grant permission="zope.View" |
---|
54 | principal="zope.Authenticated" /> |
---|
55 | <grant permission="zope.app.dublincore.view" |
---|
56 | principal="zope.Authenticated" /> |
---|
57 | <grant permission="waeup.Public" |
---|
58 | principal="zope.Everybody" /> |
---|
59 | <grant permission="waeup.Anonymous" |
---|
60 | principal="zope.Anybody" /> |
---|
61 | <grant permission="waeup.Authenticated" |
---|
62 | principal="zope.Authenticated" /> |
---|
63 | |
---|
64 | <role id="zope.Manager" title="Site Manager" /> |
---|
65 | <grantAll role="zope.Manager" /> |
---|
66 | <grant role="zope.Manager" |
---|
67 | principal="zope.manager" /> |
---|
68 | </configure> |
---|
69 | |
---|
70 | <!-- session --> |
---|
71 | <browser:beakerSession |
---|
72 | key="waeup.kofa.session.id" |
---|
73 | secret="KofaRocks" |
---|
74 | timeout="3600" |
---|
75 | type="cookie" |
---|
76 | validate_key="thisMightBeChanged" |
---|
77 | /> |
---|
78 | |
---|
79 | </configure> |
---|