source: main/waeup.kofa/branches/uli-scores-upload/src/waeup/kofa/ftesting.zcml @ 17497

Last change on this file since 17497 was 9855, checked in by Henrik Bettermann, 12 years ago

Grant permission waeup.Authenticated also in tests.

  • Property svn:style set to native
File size: 1.8 KB
Line 
1<configure
2   xmlns="http://namespaces.zope.org/zope"
3   xmlns:kofa="http://namespaces.waeup.org/kofa"
4   i18n_domain="waeup.kofa"
5   package="waeup.kofa"
6   >
7
8  <include package="grok" />
9  <includeOverrides package="waeup.kofa" />
10  <include package="waeup.kofa" file="mail.zcml" />
11  <include package="waeup.kofa" file="async_single.zcml" />
12
13  <!-- Where should the datacenter reside by default? -->
14  <kofa:datacenter
15      path="../../../parts/test/datacenter" />
16
17  <!-- Typical functional testing security setup -->
18  <securityPolicy
19      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
20      />
21
22  <unauthenticatedPrincipal
23      id="zope.anybody"
24      title="Unauthenticated User"
25      />
26  <unauthenticatedGroup id="zope.Anybody"
27      title="Unauthenticated Users" />
28  <authenticatedGroup id="zope.Authenticated"
29      title="Authenticated Users" />
30  <everybodyGroup id="zope.Everybody"
31      title="All Users" />
32
33  <!-- grant
34      permission="zope.View"
35      principal="zope.Anybody"
36      / -->
37  <grant
38      permission="zope.app.dublincore.view"
39      principal="zope.Anybody" />
40  <grant
41      permission="zope.View"
42      principal="zope.Authenticated"
43      />
44  <grant
45      permission="zope.app.dublincore.view"
46      principal="zope.Authenticated"
47      />
48  <grant
49      permission="waeup.Public"
50      principal="zope.Everybody"
51      />
52  <grant
53      permission="waeup.Anonymous"
54      principal="zope.Anybody"
55      />
56  <grant
57      permission="waeup.Authenticated"
58      principal="zope.Authenticated" />
59
60
61  <principal
62      id="zope.mgr"
63      title="Manager"
64      login="mgr"
65      password="mgrpw"
66      />
67
68  <role id="zope.Manager" title="Site Manager" />
69  <grantAll role="zope.Manager" />
70  <grant role="zope.Manager" principal="zope.mgr" />
71
72</configure>
Note: See TracBrowser for help on using the repository browser.