source: main/waeup.uniben/trunk/etc/site.zcml.in @ 16982

Last change on this file since 16982 was 15856, checked in by Henrik Bettermann, 5 years ago

Remove XMLRPC test user.

File size: 2.7 KB
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[7825]2           xmlns:kofa="http://namespaces.waeup.org/kofa"
[8020]3           i18n_domain="waeup.uniben">
[5493]4
[8020]5  <include package="waeup.uniben" />
6  <include package="waeup.uniben" file="mail.zcml" />
[5493]7
[9222]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
[7587]27  <!-- Where should the datacenter reside by default? -->
[7825]28  <kofa:datacenter
[7587]29      path="${buildout:directory}/var/datacenter" />
30
[8020]31    <configure i18n_domain="waeup.uniben">
[5493]32
33      <unauthenticatedPrincipal id="zope.anybody"
34                                title="Unauthenticated User" />
35      <unauthenticatedGroup id="zope.Anybody"
36                            title="Unauthenticated Users" />
37      <authenticatedGroup id="zope.Authenticated"
38                        title="Authenticated Users" />
39      <everybodyGroup id="zope.Everybody"
40                      title="All Users" />
41      <principal id="zope.manager"
42                 title="Manager"
43                 login="grok"
[9622]44                 password_manager="SSHA"
45                 password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8"
[5493]46                 />
47
48      <!-- Replace the following directive if you do not want
49           public access -->
[5500]50      <grant permission="zope.app.dublincore.view"
51             principal="zope.Anybody" />
[5493]52      <grant permission="zope.View"
[5500]53             principal="zope.Authenticated" />
[5493]54      <grant permission="zope.app.dublincore.view"
[5500]55             principal="zope.Authenticated" />
[5493]56      <grant permission="waeup.Public"
[7607]57             principal="zope.Everybody" />
[5493]58      <grant permission="waeup.Anonymous"
[7607]59             principal="zope.Anybody" />
60      <grant permission="waeup.Authenticated"
61             principal="zope.Authenticated" />
[5493]62
63      <role id="zope.Manager" title="Site Manager" />
64      <grantAll role="zope.Manager" />
65      <grant role="zope.Manager"
66             principal="zope.manager" />
67   </configure>
68</configure>
Note: See TracBrowser for help on using the repository browser.