source: main/waeup.sirp/trunk/src/waeup/sirp/ftesting.zcml @ 6266

Last change on this file since 6266 was 5499, checked in by uli, 14 years ago
  • Deny general access for anonymous users.
  • Apply changes that already went to site.zcml.
  • Property svn:style set to native
File size: 1.4 KB
RevLine 
[3521]1<configure
2   xmlns="http://namespaces.zope.org/zope"
[4921]3   i18n_domain="waeup.sirp"
4   package="waeup.sirp"
[3521]5   >
6
7  <include package="grok" />
[4921]8  <include package="waeup.sirp" />
[3521]9
10  <!-- Typical functional testing security setup -->
11  <securityPolicy
[4789]12      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy"
[3521]13      />
14
15  <unauthenticatedPrincipal
16      id="zope.anybody"
17      title="Unauthenticated User"
18      />
[4789]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
[5499]26  <!-- grant
[3521]27      permission="zope.View"
[4789]28      principal="zope.Anybody"
[5499]29      / -->
[4789]30  <grant
31      permission="zope.app.dublincore.view"
32      principal="zope.Anybody" />
33  <grant
34      permission="zope.View"
35      principal="zope.Authenticated"
36      />
37  <grant
38      permission="zope.app.dublincore.view"
39      principal="zope.Authenticated"
40      />
41  <grant
42      permission="waeup.Public"
43      principal="zope.Everybody"
44      />
[5499]45  <grant
46      permission="waeup.Anonymous"
47      principal="zope.Anybody"
48      />
[3521]49
[5499]50
[3521]51  <principal
52      id="zope.mgr"
53      title="Manager"
54      login="mgr"
55      password="mgrpw"
56      />
57
58  <role id="zope.Manager" title="Site Manager" />
59  <grantAll role="zope.Manager" />
60  <grant role="zope.Manager" principal="zope.mgr" />
61
62</configure>
Note: See TracBrowser for help on using the repository browser.