/usr/share/pyshared/schooltool/gradebook/security.zcml is in python-schooltool.gradebook 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 | <?xml version="1.0"?>
<configure xmlns="http://schooltool.org/securitypolicy"
xmlns:zope="http://namespaces.zope.org/zope"
i18n_domain="schooltool.gradebook">
<!-- Security descriptions -->
<describe_group
name="schooltool.gradebook"
title="Gradebook" />
<describe_action
group="schooltool.gradebook" name="view_templates" title="Edit Templates"
description="Create, edit and deploy report sheet templates."
order="10"
interface=".interfaces.IGradebookRoot"
permission="schooltool.edit"
/>
<describe_action
group="schooltool.gradebook" name="edit" title="Edit Gradebook"
description="Create and edit gradebook data for a section."
order="20"
interface=".interfaces.IGradebook"
permission="schooltool.edit"
/>
<describe_action
group="schooltool.gradebook" name="view" title="View Gradebook"
description="View gradebook data for a section."
order="30"
interface=".interfaces.IGradebook"
permission="schooltool.view"
/>
<!-- security settings -->
<setting
key="administration_can_grade_students"
text="The instructor of a section and school administration can edit a section's gradebook."
alt_text="Only the instructor of a section can edit its gradebook."
default="False" />
<crowd
name="grade_editors"
factory=".gradebook.GradebookEditorsCrowd" />
<allow
interface="schooltool.gradebook.interfaces.IGradebookRoot"
permission="schooltool.edit"
crowds="administration" />
<allow
interface="schooltool.gradebook.interfaces.IGradebook"
permission="schooltool.view"
crowds="administration section_instructors" />
<allow
interface="schooltool.gradebook.interfaces.IGradebook"
permission="schooltool.edit"
crowds="section_instructors grade_editors" />
<describe_action
group="schooltool.course-courses" name="course_worksheet" title="Add Course Worksheet"
order="50"
interface="schooltool.course.interfaces.ICourse"
permission="schooltool.edit" />
</configure>
|