summaryrefslogtreecommitdiff
path: root/src/zope/security/configure.zcml
blob: 3e5fe67d402f7dab62d00496fc7e453ef227c022 (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
<configure xmlns="http://namespaces.zope.org/zope">

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

  <utility
      component=".permission.PermissionsVocabulary"
      provides="zope.schema.interfaces.IVocabularyFactory"
      name="Permissions"
      />

  <utility
      component=".permission.PermissionIdsVocabulary"
      provides="zope.schema.interfaces.IVocabularyFactory"
      name="Permission Ids"
      />

  <class class=".permission.Permission">
    <allow interface=".interfaces.IPermission" />
  </class>

  <include file="permissions.zcml" />

</configure>