Comment 3 for bug 1159891

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

The fix that Douglas mentioned was to allow teachers see information of all sections – "teachers" was added to the "crowds" attribute in the following file.

=== modified file 'src/schooltool/course/security.zcml'
--- src/schooltool/course/security.zcml 2011-09-05 13:09:26 +0000
+++ src/schooltool/course/security.zcml 2012-07-25 17:02:34 +0000
@@ -32,7 +32,7 @@

   <allow
       interface="schooltool.course.interfaces.ISection"
- crowds="administration section_instructors section_learners configurable_section_viewers"
+ crowds="administration teachers section_instructors section_learners configurable_section_viewers"
       permission="schooltool.view" />
   <allow
       interface="schooltool.course.interfaces.ISection"

You can try editing this file in the installation location, /usr/share/pyshared/schooltool/course/security.zcml

I will backport more fixes like this and make a 2.1.2 release sometime after work on Ubuntu 13.04 is completed.