summaryrefslogtreecommitdiff
path: root/src/zope/traversing/tests/ftesting.zcml
blob: a97174d951f512ef1848adaaf1004fab66239c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<configure
   xmlns="http://namespaces.zope.org/zope"
   xmlns:browser="http://namespaces.zope.org/browser"
   i18n_domain="zope"
   package="zope.traversing"
   >

  <include package="zope.browserpage" file="meta.zcml" />
  <include package="zope.publisher" file="meta.zcml" />
  <include package="zope.security" file="meta.zcml" />

  <include package="zope.browserresource" />
  <include package="zope.container" />
  <include package="zope.location" />
  <include package="zope.publisher" />
  <include package="zope.traversing" />

  <browser:defaultView name="index.html" />
  <include package="zope.traversing.browser" />

  <browser:page
      for="zope.traversing.tests.test_vhosting.IFolder"
      permission="zope.View"
      class="zope.traversing.tests.test_vhosting.MyFolderPage"
      name="index.html" attribute="index"
      />

  <browser:page
      name="index.html"
      for="zope.traversing.tests.test_vhosting.MyPageTemplate"
      class="zope.traversing.tests.test_vhosting.MyPageEval"
      attribute="index"
      permission="zope.View"
      />

  <class class="zope.traversing.tests.test_vhosting.MyPageTemplate">
    <factory
        id="zope.traversing.tests.test_vhosting.MyPageTemplate"
        />
    <require
        permission="zope.View"
        attributes="__call__ render"
        />
  </class>

  <!-- Principals -->

  <securityPolicy
    component="zope.security.simplepolicies.PermissiveSecurityPolicy" />


</configure>