/usr/share/pyshared/schooltool/group/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 | <?xml version="1.0"?>
<configure xmlns="http://namespaces.zope.org/zope"
i18n_domain="schooltool">
<include file="security.zcml" />
<interface
interface=".interfaces.IGroupContainerContainer"
type="zope.app.content.interfaces.IContentType"
/>
<class class=".group.GroupContainerContainer">
<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.IGroupContainer"
type="zope.app.content.interfaces.IContentType"
/>
<class class=".group.GroupContainer">
<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.IGroup"
type="zope.app.content.interfaces.IContentType"
/>
<class class=".group.Group">
<implements interface="schooltool.app.interfaces.IHaveCalendar" />
<allow attributes="__cmp__" />
<require permission="schooltool.view"
attributes="title description groups members leaders" />
<require permission="schooltool.edit"
set_schema=".interfaces.IGroup" />
</class>
<adapter
for=".interfaces.IGroupContainer"
factory="schooltool.app.app.SimpleNameChooser"
provides="zope.container.interfaces.INameChooser" />
<!-- Application hook -->
<adapter
for="schooltool.app.interfaces.ISchoolToolApplication"
factory=".group.GroupInit"
name="schooltool.group" />
<adapter factory=".group.InitGroupsForNewSchoolYear"
name="groups" />
<adapter factory=".group.RemoveGroupsWhenSchoolYearIsDeleted"
name="groups" />
<adapter factory=".group.getGroupContainer" />
<adapter factory=".group.getGroupContainerForApp" />
<adapter factory=".group.getSchoolYearForGroupContainer" />
<adapter factory=".group.getGroupContainerForSection" />
<include package=".browser" />
</configure>
|