[5493] | 1 | <configure xmlns="http://namespaces.zope.org/zope" |
---|
[17179] | 2 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
[7808] | 3 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
[8796] | 4 | i18n_domain="${kofa_params:devel_pkg}"> |
---|
[5493] | 5 | |
---|
[8796] | 6 | <include package="${kofa_params:devel_pkg}" /> |
---|
| 7 | <include package="${kofa_params:devel_pkg}" file="mail.zcml" /> |
---|
[9217] | 8 | <!-- install job container |
---|
[5493] | 9 | |
---|
[9217] | 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 | |
---|
[7577] | 27 | <!-- Where should the datacenter reside by default? --> |
---|
[7808] | 28 | <kofa:datacenter |
---|
[7577] | 29 | path="${buildout:directory}/var/datacenter" /> |
---|
| 30 | |
---|
[8796] | 31 | <configure i18n_domain="${kofa_params:devel_pkg}"> |
---|
[5493] | 32 | |
---|
[7499] | 33 | |
---|
[5493] | 34 | <unauthenticatedPrincipal id="zope.anybody" |
---|
| 35 | title="Unauthenticated User" /> |
---|
| 36 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 37 | title="Unauthenticated Users" /> |
---|
| 38 | <authenticatedGroup id="zope.Authenticated" |
---|
| 39 | title="Authenticated Users" /> |
---|
| 40 | <everybodyGroup id="zope.Everybody" |
---|
| 41 | title="All Users" /> |
---|
| 42 | <principal id="zope.manager" |
---|
| 43 | title="Manager" |
---|
| 44 | login="grok" |
---|
| 45 | password_manager="SHA1" |
---|
| 46 | password="321b9cd3739bd029629243732eb682db005a7541f7509622" |
---|
| 47 | /> |
---|
| 48 | |
---|
[10007] | 49 | <!-- XMLRPC user for demo and testing |
---|
| 50 | Plaintext password is xmlrpcuser1 |
---|
| 51 | Don't use it in real deployment --> |
---|
| 52 | <principal id="zope.xmlrpcuser1" |
---|
| 53 | title="XMLRPC User 1" |
---|
| 54 | login="xmlrpcuser1" |
---|
| 55 | password="{SSHA}ZaL4-UiwmSu6AbLYY-yCS_8vtKpH5Hc6" |
---|
| 56 | password_manager="SSHA" |
---|
| 57 | /> |
---|
| 58 | |
---|
| 59 | <grant role="waeup.xmlrpcusers1" |
---|
| 60 | principal="zope.xmlrpcuser1" /> |
---|
| 61 | |
---|
| 62 | |
---|
[5493] | 63 | <!-- Replace the following directive if you do not want |
---|
| 64 | public access --> |
---|
[5500] | 65 | <grant permission="zope.app.dublincore.view" |
---|
| 66 | principal="zope.Anybody" /> |
---|
[5493] | 67 | <grant permission="zope.View" |
---|
[5500] | 68 | principal="zope.Authenticated" /> |
---|
[5493] | 69 | <grant permission="zope.app.dublincore.view" |
---|
[5500] | 70 | principal="zope.Authenticated" /> |
---|
[5493] | 71 | <grant permission="waeup.Public" |
---|
[7183] | 72 | principal="zope.Everybody" /> |
---|
[5493] | 73 | <grant permission="waeup.Anonymous" |
---|
[7183] | 74 | principal="zope.Anybody" /> |
---|
| 75 | <grant permission="waeup.Authenticated" |
---|
| 76 | principal="zope.Authenticated" /> |
---|
[5493] | 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> |
---|
[17179] | 83 | |
---|
| 84 | <!-- session --> |
---|
| 85 | <browser:beakerSession |
---|
| 86 | key="waeup.kofa.session.id" |
---|
| 87 | secret="KofaRocks" |
---|
| 88 | timeout="3600" |
---|
| 89 | type="cookie" |
---|
| 90 | validate_key="thisMightBeChanged" |
---|
| 91 | /> |
---|
| 92 | |
---|
[5493] | 93 | </configure> |
---|