source: main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/ftesting.zcml @ 17931

Last change on this file since 17931 was 14035, checked in by Henrik Bettermann, 8 years ago

Rename 'skeleton' 'coewarri'.

Set port numbers.

File size: 1.6 KB
RevLine 
[10765]1<configure
2   xmlns="http://namespaces.zope.org/zope"
3   xmlns:kofa="http://namespaces.waeup.org/kofa"
[14035]4   i18n_domain="kofacustom.coewarri"
5   package="kofacustom.coewarri"
[10765]6   >
7
[14035]8  <include package="kofacustom.coewarri" />
9  <include package="kofacustom.coewarri" file="mail.zcml"/>
[10765]10
11  <!-- Where should the datacenter reside by default? -->
12  <kofa:datacenter
13      path="../../../parts/test/datacenter" />
14
15  <!-- Typical functional testing security setup -->
16  <securityPolicy
17      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
18      />
19
20  <unauthenticatedPrincipal
21      id="zope.anybody"
22      title="Unauthenticated User"
23      />
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
31  <!-- grant
32      permission="zope.View"
33      principal="zope.Anybody"
34      / -->
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      />
50  <grant
51      permission="waeup.Anonymous"
52      principal="zope.Anybody"
53      />
54
55
56  <principal
57      id="zope.mgr"
58      title="Manager"
59      login="mgr"
60      password="mgrpw"
61      />
62
63  <role id="zope.Manager" title="Site Manager" />
64  <grantAll role="zope.Manager" />
65  <grant role="zope.Manager" principal="zope.mgr" />
66
67</configure>
Note: See TracBrowser for help on using the repository browser.