source: main/waeup.sirp/branches/ulif-paster/etc/site.zcml.in @ 7566

Last change on this file since 7566 was 5493, checked in by uli, 14 years ago

Add needed configuration file templates.

File size: 1.4 KB
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           i18n_domain="waeup.sirp">
3
4  <include package="waeup.sirp" />
5
6    <configure i18n_domain="waeup.sirp">
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.View"
26             principal="zope.Anybody" />
27      <grant permission="zope.app.dublincore.view"
28             principal="zope.Anybody" />
29      <grant permission="waeup.Public"
30             principal="zope.Everybody" />
31      <grant permission="waeup.Anonymous"
32             principal="zope.Anybody" />
33
34      <role id="zope.Manager" title="Site Manager" />
35      <role id="zope.Member" title="Site Member" />
36      <grantAll role="zope.Manager" />
37      <grant role="zope.Manager"
38             principal="zope.manager" />
39   </configure>
40</configure>
Note: See TracBrowser for help on using the repository browser.