/usr/share/pyshared/schooltool/common/configure.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 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 | <?xml version="1.0"?>
<configure xmlns="http://namespaces.zope.org/zope"
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="schooltool">
<include file="zcmlfiles.zcml" />
<include package="zope.file" />
<include package="zope.password" />
<include package="zope.login" />
<include package="zope.viewlet" file="meta.zcml" />
<include package="zope.mimetype" file="meta.zcml"/>
<include package="zc.resourcelibrary" file="meta.zcml"/>
<include package="schooltool.securitypolicy" file="meta.zcml" />
<include package="schooltool.skin" file="meta.zcml" />
<include package="z3c.form" file="meta.zcml" />
<include package="z3c.macro" file="meta.zcml" />
<include package="z3c.template" file="meta.zcml" />
<include package="schooltool.traverser" file="meta.zcml" />
<include package="zope.session" />
<include package="zope.app.server" />
<include package="zope.contentprovider" />
<include package="zope.viewlet" />
<include package="zope.formlib" />
<include package="zope.keyreference" />
<include package="zope.intid" />
<include package="zope.catalog" />
<include package="zope.mimetype" />
<include package="zope.html" />
<include package="z3c.form" />
<include package="z3c.formui" />
<include package="z3c.macro"/>
<include package="zope.location" />
<!-- set up an adapter from zope.i18n locale to a zope.ucol collator -->
<adapter
for="zope.i18n.interfaces.locales.ILocale"
provides="zope.i18n.interfaces.locales.ICollator "
factory="zope.ucol.localeadapter.LocaleCollator"
/>
<!-- pull in some configuration needed by schooltool. -->
<include package="zc.resourcelibrary" file="configure.zcml" />
<include package="zc.table" file="configure.zcml" />
<include package="zc.catalog" file="configure.zcml" />
<include package="hurry.query" file="configure.zcml" />
<include package="zc.datetimewidget" file="configure.zcml" />
<includeOverrides package="zc.datetimewidget" file="overrides.zcml" />
<!-- set up zope3 security -->
<unauthenticatedPrincipal id="zope.anybody" title="Unauthenticated User" />
<unauthenticatedGroup id="zope.Anybody" title="Unauthenticated Users" />
<authenticatedGroup id="zope.Authenticated" title="Authenticated Users" />
<everybodyGroup id="zope.Everybody" title="All Users" />
<!-- set up custom security policy -->
<include package="schooltool.securitypolicy"/>
<!-- Load devmode-specific Zope and SchoolTool packages -->
<configure
xmlns:zcml="http://namespaces.zope.org/zcml"
zcml:condition="have devmode">
<configure zcml:condition="installed zope.app.apidoc">
<!-- onlinehelp -->
<include package="zope.app.renderer" />
<include package="zope.app.file" />
<include package="zope.app.onlinehelp" file="meta.zcml" />
<include package="zope.app.onlinehelp" />
<!-- apidoc -->
<include package="zope.app.apidoc" file="meta.zcml" />
<include package="zope.app.preference" file="meta.zcml" />
<include package="zope.app.apidoc" />
<include package="zope.app.preference" />
<include package="zope.app.tree" />
</configure>
<include package="schooltool.sampledata" />
</configure>
<!-- Translations -->
<i18n:registerTranslations directory="../locales" />
<!-- Permissions -->
<permission id="schooltool.view" title="View" />
<permission id="schooltool.edit" title="Edit Info" />
<permission id="schooltool.add" title="Add Info" />
<permission id="schooltool.editCalendarOverlays" title="Edit Calendar Overlays" />
<!-- Utilities -->
<utility
name="schooltool"
provides="zope.app.generations.interfaces.ISchemaManager"
component="schooltool.generations.schemaManager"
/>
<!-- *Core* sub-packages -->
<include package="schooltool.traverser" />
<include package="schooltool.skin" />
<include package="schooltool.calendar" />
<include package="schooltool.relationship" />
<include package="schooltool.app" />
<include package="schooltool.course" />
<include package="schooltool.person" />
<include package="schooltool.contact" />
<include package="schooltool.group" />
<include package="schooltool.resource" />
<include package="schooltool.term" />
<include package="schooltool.schoolyear" />
<include package="schooltool.securitypolicy.browser" />
<include package="schooltool.export" />
<include package="schooltool.table" />
<include package="schooltool.email" />
<include package="schooltool.level" />
<include package="schooltool.report" />
<adapter
for="zope.interface.Interface
zope.publisher.interfaces.browser.IBrowserRequest"
factory="schooltool.table.table.NullTableFormatter " />
</configure>
|