source: waeup/branches/ulif-namespace/src/waeup/sirp/ftesting.zcml @ 5229

Last change on this file since 5229 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
RevLine 
[3521]1<configure
2   xmlns="http://namespaces.zope.org/zope"
[4921]3   i18n_domain="waeup.sirp"
4   package="waeup.sirp"
[3521]5   >
6
7  <include package="grok" />
[4921]8  <include package="waeup.sirp" />
[3521]9
10  <!-- Typical functional testing security setup -->
11  <securityPolicy
[4789]12      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
[3521]13      />
14
15  <unauthenticatedPrincipal
16      id="zope.anybody"
17      title="Unauthenticated User"
18      />
[4789]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
[3521]26  <grant
27      permission="zope.View"
[4789]28      principal="zope.Anybody"
[3521]29      />
[4789]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      />
[3521]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.