source: main/waeup.fceokene/trunk/etc/site.zcml.in @ 17389

Last change on this file since 17389 was 17293, checked in by Henrik Bettermann, 22 months ago

Adjust to base package.

File size: 3.0 KB
Line 
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="waeup.fceokene">
5
6  <include package="waeup.fceokene" />
7  <include package="waeup.fceokene" file="mail.zcml" />
8  <!-- install job container
9
10       install a job container for asynchronous jobs. Pick one of the
11       two possibilites: 'single' for installation in the one big ZODB
12       or 'multidb' for setup with a dedicated ZODB for job handling.
13  -->
14  <!-- include package="waeup.kofa" file="async_single.zcml" / -->
15  <include package="waeup.kofa" file="async_multidb.zcml" />
16
17  <!-- install dispatcher and other needed async components
18
19       install other needed components for asynchronous jobs. Pick one
20       of the two possibilities: 'basic_dispatcher' for single ZODB
21       setup, 'multidb_dispatcher' for setup with a dedicated ZODB for
22       job handling. Make sure the setting matches the setting picked
23       above. -->
24  <!-- include package="zc.async" file="basic_dispatcher_policy.zcml" / -->
25  <include package="zc.async" file="multidb_dispatcher_policy.zcml" />
26
27  <!-- Where should the datacenter reside by default? -->
28  <kofa:datacenter
29      path="${buildout:directory}/var/datacenter" />
30
31    <configure i18n_domain="waeup.fceokene">
32
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>
Note: See TracBrowser for help on using the repository browser.