source: main/kofacustom.nigeria/branches/uli-paypal/etc/site.zcml.in @ 17384

Last change on this file since 17384 was 17239, checked in by uli, 2 years ago

Sketches of paypal :)

File size: 3.4 KB
RevLine 
[11180]1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:kofa="http://namespaces.waeup.org/kofa"
[17239]3           xmlns:kofacustomng="http://namespaces.waeup.org/kofacustomng"
[11180]4           i18n_domain="${kofa_params:devel_pkg}">
5
6  <include package="${kofa_params:devel_pkg}" />
7  <include package="${kofa_params:devel_pkg}" 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
[17239]31  <!-- Where can the paypal config be found -->
32  <kofacustomng:paypalconf
33      path="${buildout:directory}/etc/paypal.conf" />
34
[11180]35    <configure i18n_domain="${kofa_params:devel_pkg}">
36
37
38      <unauthenticatedPrincipal id="zope.anybody"
39                                title="Unauthenticated User" />
40      <unauthenticatedGroup id="zope.Anybody"
41                            title="Unauthenticated Users" />
42      <authenticatedGroup id="zope.Authenticated"
43                        title="Authenticated Users" />
44      <everybodyGroup id="zope.Everybody"
45                      title="All Users" />
46      <principal id="zope.manager"
47                 title="Manager"
48                 login="grok"
49                 password_manager="SHA1"
50                 password="321b9cd3739bd029629243732eb682db005a7541f7509622"
51                 />
52
53      <!-- XMLRPC user for demo and testing
54           Plaintext password is xmlrpcuser1
[15800]55           Don't use it in real deployment
[11180]56      <principal id="zope.xmlrpcuser1"
57                 title="XMLRPC User 1"
58                 login="xmlrpcuser1"
59                 password="{SSHA}ZaL4-UiwmSu6AbLYY-yCS_8vtKpH5Hc6"
60                 password_manager="SSHA"
61                 />
62      <grant role="waeup.xmlrpcusers1"
63             principal="zope.xmlrpcuser1" />
[15800]64      -->
[11180]65
66      <!-- Replace the following directive if you do not want
67           public access -->
68      <grant permission="zope.app.dublincore.view"
69             principal="zope.Anybody" />
70      <grant permission="zope.View"
71             principal="zope.Authenticated" />
72      <grant permission="zope.app.dublincore.view"
73             principal="zope.Authenticated" />
74      <grant permission="waeup.Public"
75             principal="zope.Everybody" />
76      <grant permission="waeup.Anonymous"
77             principal="zope.Anybody" />
78      <grant permission="waeup.Authenticated"
79             principal="zope.Authenticated" />
80
81      <role id="zope.Manager" title="Site Manager" />
82      <grantAll role="zope.Manager" />
83      <grant role="zope.Manager"
84             principal="zope.manager" />
85   </configure>
86</configure>
Note: See TracBrowser for help on using the repository browser.