/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/security.zcml is in python-schooltool.lyceum.journal 2.6.3-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 | <?xml version="1.0"?>
<configure xmlns="http://schooltool.org/securitypolicy"
i18n_domain="schooltool.lyceum.journal">
<!-- Security descriptions -->
<describe_group
name="schooltool.lyceum.journal"
title="Journal" />
<describe_action
group="schooltool.lyceum.journal" name="edit" title="Edit Journal"
description="Create and edit journal data for a section."
order="10"
interface=".interfaces.ISectionJournal"
permission="schooltool.edit"
/>
<describe_action
group="schooltool.lyceum.journal" name="view" title="View Journal"
description="View journal data for a section."
order="20"
interface=".interfaces.ISectionJournal"
permission="schooltool.view"
/>
<!-- security settings -->
<setting
key="administration_can_grade_journal"
text="Clerks and the instructor of a section can edit a section's journal."
alt_text="Only the instructor of a section can edit its journal."
default="False" />
<crowd
name="journal_editors"
factory=".journal.JournalEditorsCrowd" />
<allow
interface=".interfaces.ISectionJournal"
permission="schooltool.edit"
crowds="section_instructors journal_editors" />
<allow
interface=".interfaces.ISectionJournal"
permission="schooltool.view"
crowds="managers clerks section_instructors" />
</configure>
|