source: main/waeup.sirp/branches/ulif-groktoolkit-1.4/etc/site.zcml.in @ 9033

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

Some modifications that make it possible at least to create a new university with Grok toolkit 1.4 (grok 1.6)

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