/usr/share/pyshared/schooltool/level/level.zcml is in python-schooltool 1:2.1.0-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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <?xml version="1.0"?>
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="schooltool">
<interface
interface=".interfaces.ILevelContainerContainer"
type="zope.app.content.interfaces.IContentType"
/>
<class class=".level.LevelContainerContainer">
<allow interface="zope.container.interfaces.ISimpleReadContainer" />
<require permission="schooltool.view"
attributes="keys values items __iter__ __len__" />
<require permission="schooltool.edit"
interface="zope.container.interfaces.IWriteContainer" />
</class>
<interface
interface=".interfaces.ILevelContainer"
type="zope.app.content.interfaces.IContentType"
/>
<class class=".level.LevelContainer">
<allow interface="zope.container.interfaces.ISimpleReadContainer" />
<require permission="schooltool.view"
attributes="keys values items __iter__ __len__" />
<require permission="schooltool.edit"
interface="zope.container.interfaces.IWriteContainer" />
<require permission="schooltool.edit"
interface="zope.container.interfaces.IOrdered" />
</class>
<interface
interface=".interfaces.ILevel"
type="zope.app.content.interfaces.IContentType"
/>
<class class=".level.Level">
<allow attributes="__cmp__" />
<require permission="schooltool.view"
interface=".interfaces.ILevel" />
<require permission="schooltool.edit"
set_schema=".interfaces.ILevel" />
</class>
<!-- Data consistency hooks -->
<adapter
for="schooltool.app.interfaces.ISchoolToolApplication"
factory=".level.LevelInit"
name="schooltool.level.level" />
<adapter
for="schooltool.app.interfaces.ISchoolToolApplication"
factory=".level.LevelStartUp"
name="schooltool.level.level" />
<!-- Content adapters -->
<adapter factory=".level.getLevelContainer" />
<adapter
for=".interfaces.ILevelContainer"
factory="schooltool.app.app.SimpleNameChooser"
provides="zope.container.interfaces.INameChooser" />
<utility
factory=".level.levelVocabularyFactory"
provides="zope.schema.interfaces.IVocabularyFactory"
name="schooltool.level.level.levelvocabulary" />
</configure>
|