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

Last change on this file since 7535 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
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  <includeOverrides package="waeup.sirp" />
9  <include package="waeup.sirp" file="mail.zcml" />
10
11  <!-- Typical functional testing security setup -->
12  <securityPolicy
13      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
14      />
15
16  <unauthenticatedPrincipal
17      id="zope.anybody"
18      title="Unauthenticated User"
19      />
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
27  <!-- grant
28      permission="zope.View"
29      principal="zope.Anybody"
30      / -->
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      />
46  <grant
47      permission="waeup.Anonymous"
48      principal="zope.Anybody"
49      />
50
51
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.