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

Last change on this file since 7062 was 6891, checked in by uli, 13 years ago

Use waeup.custom in etc-files. You have to rerun buildout after this modification.

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