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

Last change on this file since 9172 was 8796, checked in by uli, 12 years ago

Make main package exchangeable in etc/ files.

File size: 1.9 KB
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[7808]2           xmlns:kofa="http://namespaces.waeup.org/kofa"
[8796]3           i18n_domain="${kofa_params:devel_pkg}">
[5493]4
[8796]5  <include package="${kofa_params:devel_pkg}" />
6  <include package="${kofa_params:devel_pkg}" file="mail.zcml" />
[5493]7
[7577]8  <!-- Where should the datacenter reside by default? -->
[7808]9  <kofa:datacenter
[7577]10      path="${buildout:directory}/var/datacenter" />
11
[8796]12    <configure i18n_domain="${kofa_params:devel_pkg}">
[5493]13
[7499]14
[5493]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 -->
[5500]32      <grant permission="zope.app.dublincore.view"
33             principal="zope.Anybody" />
[5493]34      <grant permission="zope.View"
[5500]35             principal="zope.Authenticated" />
[5493]36      <grant permission="zope.app.dublincore.view"
[5500]37             principal="zope.Authenticated" />
[5493]38      <grant permission="waeup.Public"
[7183]39             principal="zope.Everybody" />
[5493]40      <grant permission="waeup.Anonymous"
[7183]41             principal="zope.Anybody" />
42      <grant permission="waeup.Authenticated"
43             principal="zope.Authenticated" />
[5493]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.