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

Last change on this file since 17928 was 17289, checked in by Henrik Bettermann, 20 months ago

Adjust to base package.

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