/usr/share/pyshared/schooltool/note/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 | <?xml version="1.0"?>
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:security="http://schooltool.org/securitypolicy"
i18n_domain="schooltool">
<adapter
for=".interfaces.IHaveNotes"
provides=".interfaces.INotes"
factory=".note.getNotes"
trusted="true"
/>
<class class=".note.Notes">
<require permission="zope.Public"
attributes="__iter__" />
<require permission="schooltool.view"
attributes="add remove clear" />
</class>
<class class=".note.Note">
<require permission="zope.Public"
interface=".interfaces.INote" />
<require permission="schooltool.edit"
set_schema=".interfaces.INote" />
</class>
<class class="schooltool.app.cal.CalendarEvent">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<class class="schooltool.course.course.Course">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<class class="schooltool.course.section.Section">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<class class="schooltool.person.person.Person">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<class class="schooltool.person.person.PersonContainer">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<class class="schooltool.group.group.Group">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<class class="schooltool.resource.resource.BaseResource">
<implements interface="schooltool.note.interfaces.IHaveNotes" />
</class>
<!-- Browser UI -->
<browser:page
name="notes"
for=".interfaces.IHaveNotes"
class=".browser.NotesView"
template="notes.pt"
permission="zope.Public"
/>
<browser:page
name="addNote.html"
for=".interfaces.IHaveNotes"
class=".browser.NoteAddView"
template="note_add.pt"
permission="schooltool.view"
menu="schooltool_actions"
title="New Note"
/>
<security:crowd
name="note_viewers"
factory=".note.NoteCrowd" />
<security:allow
interface=".interfaces.INote"
permission="schooltool.view"
crowds="note_viewers" />
</configure>
|