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

Last change on this file since 9189 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
Line 
1<configure xmlns="http://namespaces.zope.org/zope"
2           xmlns:sirp="http://namespaces.waeup.org/sirp"
3           i18n_domain="waeup.sirp">
4
5  <include package="waeup.sirp" />
6  <include package="waeup.sirp" file="mail.zcml" />
7
8  <!-- Where should the datacenter reside by default? -->
9  <sirp:datacenter
10      path="${buildout:directory}/var/datacenter" />
11
12    <configure i18n_domain="waeup.sirp">
13
14
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 -->
32      <!-- grant permission="zope.app.dublincore.view"
33             principal="zope.Anybody" / -->
34      <grant permission="zope.View"
35             principal="zope.Authenticated" />
36      <!-- grant permission="zope.app.dublincore.view"
37             principal="zope.Authenticated" / -->
38      <grant permission="waeup.Public"
39             principal="zope.Everybody" />
40      <grant permission="waeup.Anonymous"
41             principal="zope.Anybody" />
42      <grant permission="waeup.Authenticated"
43             principal="zope.Authenticated" />
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.