/usr/share/pyshared/zope/catalog/classes.zcml is in python-zope.catalog 3.8.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 53 54 | <configure xmlns="http://namespaces.zope.org/zope">
<class class=".catalog.Catalog">
<factory id="zope.app.catalog" />
<allow interface=".interfaces.ICatalogQuery" />
<require
interface=".interfaces.ICatalogEdit"
permission="zope.ManageServices"
/>
<require
interface="zope.container.interfaces.IContainer"
permission="zope.ManageServices"
/>
</class>
<class class=".catalog.ResultSet">
<allow attributes="__iter__ __len__" />
</class>
<class class=".field.FieldIndex">
<require
permission="zope.ManageServices"
interface=".interfaces.IAttributeIndex
zope.index.interfaces.IStatistics"
set_schema=".interfaces.IAttributeIndex"
/>
</class>
<class class=".keyword.KeywordIndex">
<require
permission="zope.ManageServices"
interface=".interfaces.IAttributeIndex
zope.index.interfaces.IStatistics"
set_schema=".interfaces.IAttributeIndex"
/>
</class>
<class class=".keyword.CaseInsensitiveKeywordIndex">
<require like_class=".keyword.KeywordIndex" />
</class>
<class class=".text.TextIndex">
<require
permission="zope.ManageServices"
interface=".interfaces.IAttributeIndex
zope.index.interfaces.IStatistics
"
set_schema=".interfaces.IAttributeIndex"
/>
</class>
<interface interface="zope.index.text.interfaces.ISearchableText" />
</configure>
|