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

Last change on this file since 7547 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
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
2           i18n_domain="waeup.sirp">
3
4  <include package="waeup.sirp" />
[7499]5  <include package="waeup.sirp" file="mail.zcml" />
[5493]6
7    <configure i18n_domain="waeup.sirp">
8
[7499]9
[5493]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 -->
[5500]27      <grant permission="zope.app.dublincore.view"
28             principal="zope.Anybody" />
[5493]29      <grant permission="zope.View"
[5500]30             principal="zope.Authenticated" />
[5493]31      <grant permission="zope.app.dublincore.view"
[5500]32             principal="zope.Authenticated" />
[5493]33      <grant permission="waeup.Public"
[7183]34             principal="zope.Everybody" />
[5493]35      <grant permission="waeup.Anonymous"
[7183]36             principal="zope.Anybody" />
37      <grant permission="waeup.Authenticated"
38             principal="zope.Authenticated" />
[5493]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.