[10765] | 1 | <configure xmlns="http://namespaces.zope.org/zope" |
---|
| 2 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
[11940] | 3 | i18n_domain="kofacustom.wdu"> |
---|
[10765] | 4 | |
---|
[11940] | 5 | <include package="kofacustom.wdu" /> |
---|
| 6 | <include package="kofacustom.wdu" file="mail.zcml" /> |
---|
[10765] | 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.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 | |
---|
[11940] | 31 | <configure i18n_domain="kofacustom.wdu"> |
---|
[10765] | 32 | |
---|
| 33 | <unauthenticatedPrincipal id="zope.anybody" |
---|
| 34 | title="Unauthenticated User" /> |
---|
| 35 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 36 | title="Unauthenticated Users" /> |
---|
| 37 | <authenticatedGroup id="zope.Authenticated" |
---|
| 38 | title="Authenticated Users" /> |
---|
| 39 | <everybodyGroup id="zope.Everybody" |
---|
| 40 | title="All Users" /> |
---|
| 41 | <principal id="zope.manager" |
---|
| 42 | title="Manager" |
---|
| 43 | login="grok" |
---|
[11940] | 44 | password_manager="SSHA" |
---|
| 45 | password="{SSHA}PQQypyPElik2Pi3wM5kO1W78eVCGgdZ8" |
---|
[10765] | 46 | /> |
---|
| 47 | |
---|
| 48 | <!-- XMLRPC user for demo and testing |
---|
[15816] | 49 | Plaintext password is xmlrpcuser1 |
---|
[10765] | 50 | <principal id="zope.xmlrpcuser1" |
---|
| 51 | title="XMLRPC User 1" |
---|
| 52 | login="xmlrpcuser1" |
---|
| 53 | password="{SSHA}ZaL4-UiwmSu6AbLYY-yCS_8vtKpH5Hc6" |
---|
| 54 | password_manager="SSHA" |
---|
| 55 | /> |
---|
| 56 | <grant role="waeup.xmlrpcusers1" |
---|
| 57 | principal="zope.xmlrpcuser1" /> |
---|
[15816] | 58 | --> |
---|
[10765] | 59 | |
---|
| 60 | <!-- Replace the following directive if you do not want |
---|
| 61 | public access --> |
---|
| 62 | <grant permission="zope.app.dublincore.view" |
---|
| 63 | principal="zope.Anybody" /> |
---|
| 64 | <grant permission="zope.View" |
---|
| 65 | principal="zope.Authenticated" /> |
---|
| 66 | <grant permission="zope.app.dublincore.view" |
---|
| 67 | principal="zope.Authenticated" /> |
---|
| 68 | <grant permission="waeup.Public" |
---|
| 69 | principal="zope.Everybody" /> |
---|
| 70 | <grant permission="waeup.Anonymous" |
---|
| 71 | principal="zope.Anybody" /> |
---|
| 72 | <grant permission="waeup.Authenticated" |
---|
| 73 | principal="zope.Authenticated" /> |
---|
| 74 | |
---|
| 75 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 76 | <grantAll role="zope.Manager" /> |
---|
| 77 | <grant role="zope.Manager" |
---|
| 78 | principal="zope.manager" /> |
---|
| 79 | </configure> |
---|
| 80 | </configure> |
---|