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

Last change on this file since 7271 was 7183, checked in by Henrik Bettermann, 13 years ago

Let's use zope.Authenticated in our portals.

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
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.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      <grant permission="waeup.Authenticated"
36             principal="zope.Authenticated" />
37
38      <role id="zope.Manager" title="Site Manager" />
39      <grantAll role="zope.Manager" />
40      <grant role="zope.Manager"
41             principal="zope.manager" />
42   </configure>
43</configure>
Note: See TracBrowser for help on using the repository browser.