~vcs-imports/zope.app.securitypolicy/trunk

« back to all changes in this revision

Viewing changes to src/zope/app/securitypolicy/ftesting.zcml

  • Committer: rogerineichen
  • Date: 2007-09-26 14:51:44 UTC
  • Revision ID: vcs-imports@canonical.com-20070926145144-lyl0lnz4xl2jb41i
Revert my latest changes, was the wrong checkout base

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<configure
 
2
   xmlns="http://namespaces.zope.org/zope"
 
3
   i18n_domain="zope"
 
4
   package="zope.app.securitypolicy"
 
5
   >
 
6
 
 
7
  <!-- This file is the equivalent of site.zcml and it is -->
 
8
  <!-- used for functional testing setup -->
 
9
 
 
10
  <include package="zope.app.securitypolicy" file="meta.zcml" />
 
11
 
 
12
  <include package="zope.app.zcmlfiles" />
 
13
  <include package="zope.app.authentication" />
 
14
  <include package="zope.app.securitypolicy" />
 
15
 
 
16
  <securityPolicy
 
17
    component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
 
18
 
 
19
  <role id="zope.Manager" title="Site Manager" />
 
20
  <role id="zope.Member" title="Site Member" />
 
21
 
 
22
  <grantAll role="zope.Manager" />
 
23
  <include package="zope.app.securitypolicy.tests" file="functional.zcml" />
 
24
 
 
25
  <!-- Principal that tests generally run as -->
 
26
  <principal
 
27
      id="zope.mgr"
 
28
      title="Manager"
 
29
      login="mgr"
 
30
      password="mgrpw" />
 
31
 
 
32
  <!-- Bootstrap principal used to make local grant to the principal above -->
 
33
  <principal
 
34
      id="zope.globalmgr"
 
35
      title="Manager"
 
36
      login="globalmgr"
 
37
      password="globalmgrpw" />
 
38
 
 
39
  <grant role="zope.Manager" principal="zope.globalmgr" />
 
40
 
 
41
</configure>