source: main/waeup.futminna/trunk/etc/site.zcml.in @ 9137

Last change on this file since 9137 was 8620, checked in by Henrik Bettermann, 12 years ago

Set up ports.

File size: 1.8 KB
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:kofa="http://namespaces.waeup.org/kofa"
3           i18n_domain="waeup.futminna">
4
5  <include package="waeup.futminna" />
6  <include package="waeup.futminna" 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="waeup.futminna">
13
14      <unauthenticatedPrincipal id="zope.anybody"
15                                title="Unauthenticated User" />
16      <unauthenticatedGroup id="zope.Anybody"
17                            title="Unauthenticated Users" />
18      <authenticatedGroup id="zope.Authenticated"
19                        title="Authenticated Users" />
20      <everybodyGroup id="zope.Everybody"
21                      title="All Users" />
22      <principal id="zope.manager"
23                 title="Manager"
24                 login="grok"
25                 password_manager="SHA1"
26                 password="321b9cd3739bd029629243732eb682db005a7541f7509622"
27                 />
28
29      <!-- Replace the following directive if you do not want
30           public access -->
31      <grant permission="zope.app.dublincore.view"
32             principal="zope.Anybody" />
33      <grant permission="zope.View"
34             principal="zope.Authenticated" />
35      <grant permission="zope.app.dublincore.view"
36             principal="zope.Authenticated" />
37      <grant permission="waeup.Public"
38             principal="zope.Everybody" />
39      <grant permission="waeup.Anonymous"
40             principal="zope.Anybody" />
41      <grant permission="waeup.Authenticated"
42             principal="zope.Authenticated" />
43
44      <role id="zope.Manager" title="Site Manager" />
45      <grantAll role="zope.Manager" />
46      <grant role="zope.Manager"
47             principal="zope.manager" />
48   </configure>
49</configure>
Note: See TracBrowser for help on using the repository browser.