source: main/waeup.custom/trunk/etc/site.zcml.in @ 7603

Last change on this file since 7603 was 7587, checked in by Henrik Bettermann, 13 years ago

Change also buildout configuration.

File size: 1.8 KB
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[7587]2           xmlns:sirp="http://namespaces.waeup.org/sirp"
[6891]3           i18n_domain="waeup.custom">
[5493]4
[6891]5  <include package="waeup.custom" />
[7503]6  <include package="waeup.custom" file="mail.zcml" />
[5493]7
[7587]8  <!-- Where should the datacenter reside by default? -->
9  <sirp:datacenter
10      path="${buildout:directory}/var/datacenter" />
11
[6891]12    <configure i18n_domain="waeup.custom">
[5493]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 -->
[5500]31      <grant permission="zope.app.dublincore.view"
32             principal="zope.Anybody" />
[5493]33      <grant permission="zope.View"
[5500]34             principal="zope.Authenticated" />
[5493]35      <grant permission="zope.app.dublincore.view"
[5500]36             principal="zope.Authenticated" />
[5493]37      <grant permission="waeup.Public"
38             principal="zope.Everybody" />
39      <grant permission="waeup.Anonymous"
40             principal="zope.Anybody" />
41
42      <role id="zope.Manager" title="Site Manager" />
43      <role id="zope.Member" title="Site Member" />
44      <grantAll role="zope.Manager" />
45      <grant role="zope.Manager"
46             principal="zope.manager" />
47   </configure>
48</configure>
Note: See TracBrowser for help on using the repository browser.