source: main/waeup.aaue/trunk/src/waeup/aaue/ftesting.zcml @ 16471

Last change on this file since 16471 was 13909, checked in by Henrik Bettermann, 9 years ago

Adjust test.

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