source: main/waeup.sirp/trunk/src/waeup/sirp/ftesting.zcml @ 7543

Last change on this file since 7543 was 7500, checked in by uli, 13 years ago

Remove mail settings from configure and add it for tests.

  • Property svn:style set to native
File size: 1.5 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" />
[6278]8  <includeOverrides package="waeup.sirp" />
[7500]9  <include package="waeup.sirp" 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.