[5493] | 1 | <configure xmlns="http://namespaces.zope.org/zope" |
---|
[17293] | 2 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
[7825] | 3 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
[8461] | 4 | i18n_domain="waeup.fceokene"> |
---|
[5493] | 5 | |
---|
[8461] | 6 | <include package="waeup.fceokene" /> |
---|
| 7 | <include package="waeup.fceokene" file="mail.zcml" /> |
---|
[9224] | 8 | <!-- install job container |
---|
[5493] | 9 | |
---|
[9224] | 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 | |
---|
[7587] | 27 | <!-- Where should the datacenter reside by default? --> |
---|
[7825] | 28 | <kofa:datacenter |
---|
[7587] | 29 | path="${buildout:directory}/var/datacenter" /> |
---|
| 30 | |
---|
[8461] | 31 | <configure i18n_domain="waeup.fceokene"> |
---|
[5493] | 32 | |
---|
[9224] | 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" |
---|
[9619] | 45 | password_manager="SSHA" |
---|
| 46 | password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8" |
---|
[5493] | 47 | /> |
---|
| 48 | |
---|
| 49 | <!-- Replace the following directive if you do not want |
---|
| 50 | public access --> |
---|
[5500] | 51 | <grant permission="zope.app.dublincore.view" |
---|
| 52 | principal="zope.Anybody" /> |
---|
[5493] | 53 | <grant permission="zope.View" |
---|
[5500] | 54 | principal="zope.Authenticated" /> |
---|
[5493] | 55 | <grant permission="zope.app.dublincore.view" |
---|
[5500] | 56 | principal="zope.Authenticated" /> |
---|
[5493] | 57 | <grant permission="waeup.Public" |
---|
[7607] | 58 | principal="zope.Everybody" /> |
---|
[5493] | 59 | <grant permission="waeup.Anonymous" |
---|
[7607] | 60 | principal="zope.Anybody" /> |
---|
| 61 | <grant permission="waeup.Authenticated" |
---|
| 62 | principal="zope.Authenticated" /> |
---|
[5493] | 63 | |
---|
| 64 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 65 | <grantAll role="zope.Manager" /> |
---|
| 66 | <grant role="zope.Manager" |
---|
| 67 | principal="zope.manager" /> |
---|
| 68 | </configure> |
---|
[17293] | 69 | |
---|
| 70 | <!-- session --> |
---|
| 71 | <browser:beakerSession |
---|
| 72 | key="waeup.kofa.session.id" |
---|
| 73 | secret="KofaRocks" |
---|
| 74 | timeout="3600" |
---|
| 75 | type="cookie" |
---|
| 76 | validate_key="thisMightBeChanged" |
---|
| 77 | /> |
---|
| 78 | |
---|
[5493] | 79 | </configure> |
---|