source: main/waeup.kofa/trunk/src/waeup/kofa/ftesting.zcml @ 17497

Last change on this file since 17497 was 17280, checked in by uli, 22 months ago

Upgrade dolmen.beaker dependency. Requires new buildout run.

  • Property svn:style set to native
File size: 2.0 KB
Line 
1<configure
2   xmlns="http://namespaces.zope.org/zope"
3   xmlns:browser="http://namespaces.zope.org/browser"
4   xmlns:kofa="http://namespaces.waeup.org/kofa"
5   i18n_domain="waeup.kofa"
6   package="waeup.kofa"
7   >
8
9  <include package="grok" />
10  <includeOverrides package="waeup.kofa" />
11  <include package="waeup.kofa" file="mail.zcml" />
12  <include package="waeup.kofa" file="async_single.zcml" />
13
14  <!-- Where should the datacenter reside by default? -->
15  <kofa:datacenter
16      path="../../../parts/test/datacenter" />
17
18  <!-- Typical functional testing security setup -->
19  <securityPolicy
20      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
21      />
22
23  <unauthenticatedPrincipal
24      id="zope.anybody"
25      title="Unauthenticated User"
26      />
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
34  <!-- grant
35      permission="zope.View"
36      principal="zope.Anybody"
37      / -->
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      />
53  <grant
54      permission="waeup.Anonymous"
55      principal="zope.Anybody"
56      />
57  <grant
58      permission="waeup.Authenticated"
59      principal="zope.Authenticated" />
60
61
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
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
82</configure>
Note: See TracBrowser for help on using the repository browser.