Ignore:
Timestamp:
8 Jan 2013, 13:33:14 (12 years ago)
Author:
Henrik Bettermann
Message:

Use keywords not only to filter students but also to restrict access to coursetickets which belong to the course so that lecturers (who gain access to courses) can download only coursetickets of their own course.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r9843 r9844  
    28102810
    28112811    def _set_exporter_values(self):
    2812         # We provide only the students exporter.
     2812        # We provide only two exporters.
    28132813        exporters = []
    2814         for name in ('students',):
     2814        for name in ('students', 'coursetickets'):
    28152815            util = getUtility(ICSVExporter, name=name)
    28162816            exporters.append((util.title, name),)
Note: See TracChangeset for help on using the changeset viewer.