source: main/waeup.kofa/branches/uli-zc-async/etc/site.zcml.in @ 9099

Last change on this file since 9099 was 8864, checked in by uli, 12 years ago

Commit all the cruel async stuff. Only for playing around, yet.

File size: 2.0 KB
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:kofa="http://namespaces.waeup.org/kofa"
3           i18n_domain="waeup.kofa">
4
5  <include package="waeup.kofa" />
6  <include package="waeup.kofa" file="mail.zcml" />
7  <!-- include package="zc.async" file="basic_dispatcher_policy.zcml" / -->
8  <include package="zc.async" file="multidb_dispatcher_policy.zcml" />
9
10  <!-- Where should the datacenter reside by default? -->
11  <kofa:datacenter
12      path="${buildout:directory}/var/datacenter" />
13
14    <configure i18n_domain="waeup.kofa">
15
16
17      <unauthenticatedPrincipal id="zope.anybody"
18                                title="Unauthenticated User" />
19      <unauthenticatedGroup id="zope.Anybody"
20                            title="Unauthenticated Users" />
21      <authenticatedGroup id="zope.Authenticated"
22                        title="Authenticated Users" />
23      <everybodyGroup id="zope.Everybody"
24                      title="All Users" />
25      <principal id="zope.manager"
26                 title="Manager"
27                 login="grok"
28                 password_manager="SHA1"
29                 password="321b9cd3739bd029629243732eb682db005a7541f7509622"
30                 />
31
32      <!-- Replace the following directive if you do not want
33           public access -->
34      <grant permission="zope.app.dublincore.view"
35             principal="zope.Anybody" />
36      <grant permission="zope.View"
37             principal="zope.Authenticated" />
38      <grant permission="zope.app.dublincore.view"
39             principal="zope.Authenticated" />
40      <grant permission="waeup.Public"
41             principal="zope.Everybody" />
42      <grant permission="waeup.Anonymous"
43             principal="zope.Anybody" />
44      <grant permission="waeup.Authenticated"
45             principal="zope.Authenticated" />
46
47      <role id="zope.Manager" title="Site Manager" />
48      <grantAll role="zope.Manager" />
49      <grant role="zope.Manager"
50             principal="zope.manager" />
51   </configure>
52</configure>
Note: See TracBrowser for help on using the repository browser.