[3521] | 1 | <configure |
---|
| 2 | xmlns="http://namespaces.zope.org/zope" |
---|
[17280] | 3 | xmlns:browser="http://namespaces.zope.org/browser" |
---|
[7811] | 4 | xmlns:kofa="http://namespaces.waeup.org/kofa" |
---|
| 5 | i18n_domain="waeup.kofa" |
---|
| 6 | package="waeup.kofa" |
---|
[3521] | 7 | > |
---|
| 8 | |
---|
| 9 | <include package="grok" /> |
---|
[7811] | 10 | <includeOverrides package="waeup.kofa" /> |
---|
| 11 | <include package="waeup.kofa" file="mail.zcml" /> |
---|
[9217] | 12 | <include package="waeup.kofa" file="async_single.zcml" /> |
---|
[3521] | 13 | |
---|
[7580] | 14 | <!-- Where should the datacenter reside by default? --> |
---|
[7811] | 15 | <kofa:datacenter |
---|
[7582] | 16 | path="../../../parts/test/datacenter" /> |
---|
[7580] | 17 | |
---|
[3521] | 18 | <!-- Typical functional testing security setup --> |
---|
| 19 | <securityPolicy |
---|
[4789] | 20 | component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" |
---|
[3521] | 21 | /> |
---|
| 22 | |
---|
| 23 | <unauthenticatedPrincipal |
---|
| 24 | id="zope.anybody" |
---|
| 25 | title="Unauthenticated User" |
---|
| 26 | /> |
---|
[4789] | 27 | <unauthenticatedGroup id="zope.Anybody" |
---|
| 28 | title="Unauthenticated Users" /> |
---|
| 29 | <authenticatedGroup id="zope.Authenticated" |
---|
| 30 | title="Authenticated Users" /> |
---|
| 31 | <everybodyGroup id="zope.Everybody" |
---|
| 32 | title="All Users" /> |
---|
| 33 | |
---|
[5499] | 34 | <!-- grant |
---|
[3521] | 35 | permission="zope.View" |
---|
[4789] | 36 | principal="zope.Anybody" |
---|
[5499] | 37 | / --> |
---|
[4789] | 38 | <grant |
---|
| 39 | permission="zope.app.dublincore.view" |
---|
| 40 | principal="zope.Anybody" /> |
---|
| 41 | <grant |
---|
| 42 | permission="zope.View" |
---|
| 43 | principal="zope.Authenticated" |
---|
| 44 | /> |
---|
| 45 | <grant |
---|
| 46 | permission="zope.app.dublincore.view" |
---|
| 47 | principal="zope.Authenticated" |
---|
| 48 | /> |
---|
| 49 | <grant |
---|
| 50 | permission="waeup.Public" |
---|
| 51 | principal="zope.Everybody" |
---|
| 52 | /> |
---|
[17280] | 53 | <grant |
---|
[5499] | 54 | permission="waeup.Anonymous" |
---|
| 55 | principal="zope.Anybody" |
---|
| 56 | /> |
---|
[9855] | 57 | <grant |
---|
| 58 | permission="waeup.Authenticated" |
---|
| 59 | principal="zope.Authenticated" /> |
---|
[3521] | 60 | |
---|
[5499] | 61 | |
---|
[3521] | 62 | <principal |
---|
| 63 | id="zope.mgr" |
---|
| 64 | title="Manager" |
---|
| 65 | login="mgr" |
---|
| 66 | password="mgrpw" |
---|
| 67 | /> |
---|
| 68 | |
---|
| 69 | <role id="zope.Manager" title="Site Manager" /> |
---|
| 70 | <grantAll role="zope.Manager" /> |
---|
| 71 | <grant role="zope.Manager" principal="zope.mgr" /> |
---|
| 72 | |
---|
[17280] | 73 | <!-- session --> |
---|
| 74 | <browser:beakerSession |
---|
| 75 | key="waeup.kofa.session.id" |
---|
| 76 | secret="KofaRocks" |
---|
| 77 | timeout="3600" |
---|
| 78 | type="cookie" |
---|
| 79 | validate_key="thisMightBeChanged" |
---|
| 80 | /> |
---|
| 81 | |
---|
[3521] | 82 | </configure> |
---|