source: main/ikobacustom.skeleton/trunk/etc/site.zcml.in @ 12538

Last change on this file since 12538 was 12405, checked in by Henrik Bettermann, 10 years ago

Update site.zcml and fileviewlets.py

File size: 3.3 KB
RevLine 
[12175]1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:ikoba="http://namespaces.waeup.org/ikoba"
3           i18n_domain="ikobacustom.skeleton">
4
5  <include package="ikobacustom.skeleton" />
6  <include package="ikobacustom.skeleton" 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
[12405]31  <!-- Where can the Paypal config be found? -->
32  <ikoba:paypalconf
33      path="${buildout:directory}/etc/paypal.conf" />
34
[12175]35    <configure i18n_domain="ikobacustom.skeleton">
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="SHA1"
49                 password="321b9cd3739bd029629243732eb682db005a7541f7509622"
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.