source: main/waeup.sirp/branches/ulif-fasttables/src/waeup/sirp/ftesting.zcml @ 5247

Last change on this file since 5247 was 4921, checked in by uli, 15 years ago

Make functional tests work again.

  • Property svn:style set to native
File size: 1.3 KB
Line 
1<configure
2   xmlns="http://namespaces.zope.org/zope"
3   i18n_domain="waeup.sirp"
4   package="waeup.sirp"
5   >
6
7  <include package="grok" />
8  <include package="waeup.sirp" />
9
10  <!-- Typical functional testing security setup -->
11  <securityPolicy
12      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
13      />
14
15  <unauthenticatedPrincipal
16      id="zope.anybody"
17      title="Unauthenticated User"
18      />
19  <unauthenticatedGroup id="zope.Anybody"
20      title="Unauthenticated Users" />
21  <authenticatedGroup id="zope.Authenticated"
22      title="Authenticated Users" />
23  <everybodyGroup id="zope.Everybody"
24      title="All Users" />
25
26  <grant
27      permission="zope.View"
28      principal="zope.Anybody"
29      />
30  <grant
31      permission="zope.app.dublincore.view"
32      principal="zope.Anybody" />
33  <grant
34      permission="zope.View"
35      principal="zope.Authenticated"
36      />
37  <grant
38      permission="zope.app.dublincore.view"
39      principal="zope.Authenticated"
40      />
41  <grant
42      permission="waeup.Public"
43      principal="zope.Everybody"
44      />
45
46  <principal
47      id="zope.mgr"
48      title="Manager"
49      login="mgr"
50      password="mgrpw"
51      />
52
53  <role id="zope.Manager" title="Site Manager" />
54  <grantAll role="zope.Manager" />
55  <grant role="zope.Manager" principal="zope.mgr" />
56
57</configure>
Note: See TracBrowser for help on using the repository browser.