source: main/waeup.kofa/trunk/src/waeup/kofa/ftesting.zcml @ 9639

Last change on this file since 9639 was 9217, checked in by uli, 12 years ago

Merge changes from uli-async-update back into trunk.

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