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

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

Use same zcml configuration as in trunk: mail.zcml is included in site.zcml and in ftesting.zcml.

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