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

Last change on this file since 7021 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
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[6891]2           i18n_domain="waeup.custom">
[5493]3
[6891]4  <include package="waeup.custom" />
[5493]5
[6891]6    <configure i18n_domain="waeup.custom">
[5493]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 -->
[5500]25      <grant permission="zope.app.dublincore.view"
26             principal="zope.Anybody" />
[5493]27      <grant permission="zope.View"
[5500]28             principal="zope.Authenticated" />
[5493]29      <grant permission="zope.app.dublincore.view"
[5500]30             principal="zope.Authenticated" />
[5493]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.