source: main/waeup.kofa/trunk/etc/site.zcml.in @ 9141

Last change on this file since 9141 was 8796, checked in by uli, 13 years ago

Make main package exchangeable in etc/ files.

File size: 1.9 KB
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:kofa="http://namespaces.waeup.org/kofa"
3           i18n_domain="${kofa_params:devel_pkg}">
4
5  <include package="${kofa_params:devel_pkg}" />
6  <include package="${kofa_params:devel_pkg}" file="mail.zcml" />
7
8  <!-- Where should the datacenter reside by default? -->
9  <kofa:datacenter
10      path="${buildout:directory}/var/datacenter" />
11
12    <configure i18n_domain="${kofa_params:devel_pkg}">
13
14
15      <unauthenticatedPrincipal id="zope.anybody"
16                                title="Unauthenticated User" />
17      <unauthenticatedGroup id="zope.Anybody"
18                            title="Unauthenticated Users" />
19      <authenticatedGroup id="zope.Authenticated"
20                        title="Authenticated Users" />
21      <everybodyGroup id="zope.Everybody"
22                      title="All Users" />
23      <principal id="zope.manager"
24                 title="Manager"
25                 login="grok"
26                 password_manager="SHA1"
27                 password="321b9cd3739bd029629243732eb682db005a7541f7509622"
28                 />
29
30      <!-- Replace the following directive if you do not want
31           public access -->
32      <grant permission="zope.app.dublincore.view"
33             principal="zope.Anybody" />
34      <grant permission="zope.View"
35             principal="zope.Authenticated" />
36      <grant permission="zope.app.dublincore.view"
37             principal="zope.Authenticated" />
38      <grant permission="waeup.Public"
39             principal="zope.Everybody" />
40      <grant permission="waeup.Anonymous"
41             principal="zope.Anybody" />
42      <grant permission="waeup.Authenticated"
43             principal="zope.Authenticated" />
44
45      <role id="zope.Manager" title="Site Manager" />
46      <grantAll role="zope.Manager" />
47      <grant role="zope.Manager"
48             principal="zope.manager" />
49   </configure>
50</configure>
Note: See TracBrowser for help on using the repository browser.