source: main/waeup.sirp/trunk/etc/site.zcml.in @ 7522

Last change on this file since 7522 was 7499, checked in by uli, 13 years ago

Register site-specific mail settings in site.zcml instead of
configure.zcml. Hopefully we get rid of problems with custom packages
this way.

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