[12175] | 1 | <configure xmlns="http://namespaces.zope.org/zope" |
---|
| 2 | xmlns:ikoba="http://namespaces.waeup.org/ikoba" |
---|
[12371] | 3 | i18n_domain="ikobacustom.pcn"> |
---|
[12175] | 4 | |
---|
[12371] | 5 | <include package="ikobacustom.pcn" /> |
---|
| 6 | <include package="ikobacustom.pcn" file="mail.zcml" /> |
---|
[12175] | 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 | |
---|
[12404] | 31 | <!-- Where can the Paypal config be found? --> |
---|
[12743] | 32 | <!-- |
---|
| 33 | Disable paypal configuration until support is ready for primetime. |
---|
[12404] | 34 | <ikoba:paypalconf |
---|
| 35 | path="${buildout:directory}/etc/paypal.conf" /> |
---|
[12743] | 36 | --> |
---|
[12404] | 37 | |
---|
[12371] | 38 | <configure i18n_domain="ikobacustom.pcn"> |
---|
[12175] | 39 | |
---|
| 40 | <unauthenticatedPrincipal id="zope.anybody" |
---|
| 41 | title="Unauthenticated User" /> |
---|
| 42 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 43 | title="Unauthenticated Users" /> |
---|
| 44 | <authenticatedGroup id="zope.Authenticated" |
---|
| 45 | title="Authenticated Users" /> |
---|
| 46 | <everybodyGroup id="zope.Everybody" |
---|
| 47 | title="All Users" /> |
---|
| 48 | <principal id="zope.manager" |
---|
| 49 | title="Manager" |
---|
| 50 | login="grok" |
---|
[12377] | 51 | password_manager="SSHA" |
---|
| 52 | password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8" |
---|
[12175] | 53 | /> |
---|
| 54 | |
---|
| 55 | <!-- XMLRPC user for demo and testing |
---|
| 56 | Plaintext password is xmlrpcuser1 --> |
---|
| 57 | <principal id="zope.xmlrpcuser1" |
---|
| 58 | title="XMLRPC User 1" |
---|
| 59 | login="xmlrpcuser1" |
---|
| 60 | password="{SSHA}ZaL4-UiwmSu6AbLYY-yCS_8vtKpH5Hc6" |
---|
| 61 | password_manager="SSHA" |
---|
| 62 | /> |
---|
| 63 | <grant role="waeup.xmlrpcusers1" |
---|
| 64 | principal="zope.xmlrpcuser1" /> |
---|
| 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> |
---|