source: main/ikobacustom.aaue/trunk/etc/site.zcml.in @ 15872

Last change on this file since 15872 was 14310, checked in by Henrik Bettermann, 8 years ago

Renaming and port setting.

File size: 3.2 KB
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:ikoba="http://namespaces.waeup.org/ikoba"
3           i18n_domain="ikobacustom.aaue">
4
5  <include package="ikobacustom.aaue" />
6  <include package="ikobacustom.aaue" file="mail.zcml" />
7
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.ikoba" file="async_single.zcml" / -->
15  <include package="waeup.ikoba" 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  <ikoba:datacenter
29      path="${buildout:directory}/var/datacenter" />
30
31  <!-- Where can the Paypal config be found? -->
32  <ikoba:paypalconf
33      path="${buildout:directory}/etc/paypal.conf" />
34
35    <configure i18n_domain="ikobacustom.aaue">
36
37      <unauthenticatedPrincipal id="zope.anybody"
38                                title="Unauthenticated User" />
39      <unauthenticatedGroup id="zope.Anybody"
40                            title="Unauthenticated Users" />
41      <authenticatedGroup id="zope.Authenticated"
42                        title="Authenticated Users" />
43      <everybodyGroup id="zope.Everybody"
44                      title="All Users" />
45      <principal id="zope.manager"
46                 title="Manager"
47                 login="grok"
48                 password_manager="SSHA"
49                 password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8"
50                 />
51
52      <!-- XMLRPC user for demo and testing
53           Plaintext password is xmlrpcuser1 -->
54      <principal id="zope.xmlrpcuser1"
55                 title="XMLRPC User 1"
56                 login="xmlrpcuser1"
57                 password="{SSHA}ZaL4-UiwmSu6AbLYY-yCS_8vtKpH5Hc6"
58                 password_manager="SSHA"
59                 />
60      <grant role="waeup.xmlrpcusers1"
61             principal="zope.xmlrpcuser1" />
62
63      <!-- Replace the following directive if you do not want
64           public access -->
65      <grant permission="zope.app.dublincore.view"
66             principal="zope.Anybody" />
67      <grant permission="zope.View"
68             principal="zope.Authenticated" />
69      <grant permission="zope.app.dublincore.view"
70             principal="zope.Authenticated" />
71      <grant permission="waeup.Public"
72             principal="zope.Everybody" />
73      <grant permission="waeup.Anonymous"
74             principal="zope.Anybody" />
75      <grant permission="waeup.Authenticated"
76             principal="zope.Authenticated" />
77
78      <role id="zope.Manager" title="Site Manager" />
79      <grantAll role="zope.Manager" />
80      <grant role="zope.Manager"
81             principal="zope.manager" />
82   </configure>
83</configure>
Note: See TracBrowser for help on using the repository browser.