Fix 'buildout.cfg' modification code
[zope-bootstrap.git] / skel-zope3 / site.zcml
1 <configure xmlns="http://namespaces.zope.org/zope"
2            i18n_domain="appmain">
3
4   <include package="appmain" />
5
6   <!-- Remove this reference to disable the APIDoc tool.
7        You should do this for production -->
8   <include file="apidoc.zcml" />
9
10   <include package="zope.securitypolicy" file="meta.zcml" />
11   <include package="zope.app.securitypolicy" />
12   <securityPolicy 
13       component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
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
24   <!-- Initial administrator account.  Disable this for production -->
25   <principal id="zope.manager"
26              title="Manager"
27              login="admin"
28              password_manager="Plain Text"
29              password="admin"
30              />
31
32   <!-- With the default zope securitypolicy, this is a
33        special role that every user has -->
34   <role id="zope.Anonymous"
35         title="Everybody"
36         description="All users have this role implicitly" />
37
38   <!-- Replace the following directives if you don't want public access -->
39   <grant permission="zope.View"
40          role="zope.Anonymous" />
41   <grant permission="zope.app.dublincore.view"
42          role="zope.Anonymous" />
43     
44   <role id="zope.Manager" title="Site Manager" />
45   <role id="zope.Member" title="Site Member" />
46   <grantAll role="zope.Manager" />
47   <grant role="zope.Manager"
48          principal="zope.manager" />
49
50 </configure>