source: main/waeup.aaue/trunk/etc/site.zcml.in @ 17531

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

Adjust to base package.

File size: 3.0 KB
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[17289]2           xmlns:browser="http://namespaces.zope.org/browser"
[7825]3           xmlns:kofa="http://namespaces.waeup.org/kofa"
[8824]4           i18n_domain="waeup.aaue">
[5493]5
[8447]6  <include package="waeup.aaue" />
7  <include package="waeup.aaue" file="mail.zcml" />
[5493]8
[9223]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
[7587]28  <!-- Where should the datacenter reside by default? -->
[7825]29  <kofa:datacenter
[7587]30      path="${buildout:directory}/var/datacenter" />
31
[8447]32    <configure i18n_domain="waeup.aaue">
[5493]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"
[9618]45                 password_manager="SSHA"
[9625]46                 password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8"
[5493]47                 />
48
49      <!-- Replace the following directive if you do not want
50           public access -->
[5500]51      <grant permission="zope.app.dublincore.view"
52             principal="zope.Anybody" />
[5493]53      <grant permission="zope.View"
[5500]54             principal="zope.Authenticated" />
[5493]55      <grant permission="zope.app.dublincore.view"
[5500]56             principal="zope.Authenticated" />
[5493]57      <grant permission="waeup.Public"
[7607]58             principal="zope.Everybody" />
[5493]59      <grant permission="waeup.Anonymous"
[7607]60             principal="zope.Anybody" />
61      <grant permission="waeup.Authenticated"
62             principal="zope.Authenticated" />
[5493]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>
[17289]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
[5493]79</configure>
Note: See TracBrowser for help on using the repository browser.