source: main/waeup.uniben/trunk/etc/site.zcml.in @ 8056

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

Rename custom to uniben.

File size: 1.8 KB
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[7825]2           xmlns:kofa="http://namespaces.waeup.org/kofa"
[8020]3           i18n_domain="waeup.uniben">
[5493]4
[8020]5  <include package="waeup.uniben" />
6  <include package="waeup.uniben" file="mail.zcml" />
[5493]7
[7587]8  <!-- Where should the datacenter reside by default? -->
[7825]9  <kofa:datacenter
[7587]10      path="${buildout:directory}/var/datacenter" />
11
[8020]12    <configure i18n_domain="waeup.uniben">
[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"
[7607]38             principal="zope.Everybody" />
[5493]39      <grant permission="waeup.Anonymous"
[7607]40             principal="zope.Anybody" />
41      <grant permission="waeup.Authenticated"
42             principal="zope.Authenticated" />
[5493]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.