source: main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/ftesting.zcml @ 14086

Last change on this file since 14086 was 12371, checked in by Henrik Bettermann, 10 years ago

Replace 'skeleton' by 'pcn'.

File size: 1.8 KB
RevLine 
[12175]1<configure
2   xmlns="http://namespaces.zope.org/zope"
3   xmlns:ikoba="http://namespaces.waeup.org/ikoba"
[12371]4   i18n_domain="ikobacustom.pcn"
5   package="ikobacustom.pcn"
[12175]6   >
7
8  <include package="grok" />
[12371]9  <includeOverrides package="ikobacustom.pcn" />
10  <include package="ikobacustom.pcn" file="mail.zcml" />
[12175]11
12  <!-- Where should the datacenter reside by default?
13
14       The path is relative to the `package` defined in top
15       `configure` directive.
16  -->
17  <ikoba:datacenter
18      path="../../../parts/test/datacenter" />
19
20
21  <!-- Typical functional testing security setup -->
22  <securityPolicy
23      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
24      />
25
26
27  <unauthenticatedPrincipal
28      id="zope.anybody"
29      title="Unauthenticated User"
30      />
31  <unauthenticatedGroup
32      id="zope.Anybody"
33      title="Unauthenticated Users"
34      />
35  <authenticatedGroup
36      id="zope.Authenticated"
37      title="Authenticated Users"
38      />
39  <everybodyGroup
40      id="zope.Everybody"
41      title="All Users"
42      />
43
44
45  <!-- grant
46      permission="zope.View"
47      principal="zope.Anybody"
48      / -->
49
50  <grant
51      permission="zope.app.dublincore.view"
52      principal="zope.Anybody" />
53  <grant
54      permission="zope.View"
55      principal="zope.Authenticated"
56      />
57  <grant
58      permission="zope.app.dublincore.view"
59      principal="zope.Authenticated"
60      />
61  <grant
62      permission="waeup.Public"
63      principal="zope.Everybody"
64      />
65  <grant
66      permission="waeup.Anonymous"
67      principal="zope.Anybody"
68      />
69
70  <principal
71      id="zope.mgr"
72      title="Manager"
73      login="mgr"
74      password="mgrpw"
75      />
76
77  <role
78      id="zope.Manager"
79      title="Site Manager"
80      />
81
82  <grantAll
83      role="zope.Manager"
84      />
85
86  <grant
87      role="zope.Manager"
88      principal="zope.mgr"
89      />
90
91</configure>
Note: See TracBrowser for help on using the repository browser.