source: main/waeup.custom/trunk/src/waeup/custom/ftesting.zcml @ 7525

Last change on this file since 7525 was 7503, checked in by Henrik Bettermann, 13 years ago

Use same zcml configuration as in trunk: mail.zcml is included in site.zcml and in ftesting.zcml.

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