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

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

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

File size: 2.0 KB
RevLine 
[5493]1<configure xmlns="http://namespaces.zope.org/zope"
[7808]2           xmlns:kofa="http://namespaces.waeup.org/kofa"
3           i18n_domain="waeup.kofa">
[5493]4
[7904]5  <include package="waeup.kofa" />
[7808]6  <include package="waeup.kofa" file="mail.zcml" />
[8864]7  <!-- include package="zc.async" file="basic_dispatcher_policy.zcml" / -->
8  <include package="zc.async" file="multidb_dispatcher_policy.zcml" />
[5493]9
[7577]10  <!-- Where should the datacenter reside by default? -->
[7808]11  <kofa:datacenter
[7577]12      path="${buildout:directory}/var/datacenter" />
13
[7808]14    <configure i18n_domain="waeup.kofa">
[5493]15
[7499]16
[5493]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 -->
[5500]34      <grant permission="zope.app.dublincore.view"
35             principal="zope.Anybody" />
[5493]36      <grant permission="zope.View"
[5500]37             principal="zope.Authenticated" />
[5493]38      <grant permission="zope.app.dublincore.view"
[5500]39             principal="zope.Authenticated" />
[5493]40      <grant permission="waeup.Public"
[7183]41             principal="zope.Everybody" />
[5493]42      <grant permission="waeup.Anonymous"
[7183]43             principal="zope.Anybody" />
44      <grant permission="waeup.Authenticated"
45             principal="zope.Authenticated" />
[5493]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.