source: main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/ftesting.zcml @ 17896

Last change on this file since 17896 was 17882, checked in by Henrik Bettermann, 7 weeks ago

Extend permissions.

  • Property svn:keywords set to Id
File size: 2.0 KB
RevLine 
[15614]1<configure
2   xmlns="http://namespaces.zope.org/zope"
[17297]3   xmlns:browser="http://namespaces.zope.org/browser"
[15614]4   xmlns:kofa="http://namespaces.waeup.org/kofa"
5   i18n_domain="kofacustom.skeleton"
6   package="kofacustom.skeleton"
7   >
8
9  <include package="kofacustom.skeleton" />
10  <include package="kofacustom.skeleton" file="mail.zcml"/>
11
12  <!-- Where should the datacenter reside by default? -->
13  <kofa:datacenter
14      path="../../../parts/test/datacenter" />
15
16  <!-- Typical functional testing security setup -->
17  <securityPolicy
18      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
19      />
20
21  <unauthenticatedPrincipal
22      id="zope.anybody"
23      title="Unauthenticated User"
24      />
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
32  <!-- grant
33      permission="zope.View"
34      principal="zope.Anybody"
35      / -->
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      />
51  <grant
52      permission="waeup.Anonymous"
53      principal="zope.Anybody"
54      />
[17882]55  <grant
56      permission="waeup.Authenticated"
57      principal="zope.Authenticated" />
[15614]58
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
[17297]71   <!-- session -->
72   <browser:beakerSession
73        key="waeup.kofa.session.id"
74        secret="KofaRocks"
75        timeout="3600"
76        type="cookie"
77        validate_key="thisMightBeChanged"
78        />
79       
[15614]80</configure>
Note: See TracBrowser for help on using the repository browser.