/usr/share/pyshared/schooltool/requirement/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 | <?xml version="1.0"?>
<configure xmlns="http://schooltool.org/securitypolicy"
xmlns:zope="http://namespaces.zope.org/zope">
<zope:adapter
for=".interfaces.IRequirement"
factory=".security.RequirementRequirementViewersCrowd"
provides=".security.IRequirementParentCrowd"
name="schooltool.view" />
<zope:adapter
for=".interfaces.IRequirement"
factory=".security.RequirementRequirementEditorsCrowd"
provides=".security.IRequirementParentCrowd"
name="schooltool.edit" />
<zope:adapter
for="schooltool.course.interfaces.ICourse"
factory=".security.CourseRequirementViewersCrowd"
provides=".security.IRequirementParentCrowd"
name="schooltool.view" />
<zope:adapter
for="schooltool.course.interfaces.ICourse"
factory=".security.CourseRequirementEditorsCrowd"
provides=".security.IRequirementParentCrowd"
name="schooltool.edit" />
<zope:adapter
for="schooltool.course.interfaces.ISection"
factory=".security.SectionRequirementViewersCrowd"
provides=".security.IRequirementParentCrowd"
name="schooltool.view" />
<zope:adapter
for="schooltool.course.interfaces.ISection"
factory=".security.SectionRequirementEditorsCrowd"
provides=".security.IRequirementParentCrowd"
name="schooltool.edit" />
<crowd
name="requirement_viewers"
factory=".security.RequirementViewersCrowd" />
<crowd
name="requirement_editors"
factory=".security.RequirementEditorsCrowd" />
<allow
interface=".interfaces.IRequirement"
permission="schooltool.view"
crowds="administration requirement_viewers" />
<allow
interface=".interfaces.IRequirement"
permission="schooltool.edit"
crowds="administration requirement_editors" />
</configure>
|