Ignore:
Timestamp:
27 Aug 2013, 19:13:51 (11 years ago)
Author:
Henrik Bettermann
Message:

After some experiments with dynamical roles which allow lecturers to edit the score attribute of course tickets through the UI, I decided to discard the idea completely. It's not feasible and very dangerous to enable lecturers to edit course tickets directly: There are too many course tickets, too many lecturers and to many restrictions. The solution will be that lecturers export the course tickets of their courses, fill the score column and re-upload the csv file. This is still not easy to implement because we can't allow lecturers to access the data center directly. Further discussions are necessary ...

File:
1 edited

Legend:

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

    r10536 r10539  
    16611661        self.browser.getControl("Show").click()
    16621662        self.assertTrue(self.student_id in self.browser.contents)
    1663         # XXX: So far the lecturer can neither access ths student ...
     1663        # The course ticket can be linked with the course.
     1664        self.assertEqual(
     1665            self.student['studycourse']['100']['COURSE1'].course,
     1666            self.course)
     1667        # Lecturer can neither access ths student ...
    16641668        self.assertRaises(
    16651669            Unauthorized, self.browser.open, self.student_path)
    16661670        # ... nor the respective course ticket since a
    1667         # CourseTicketPrincipalRoleManager does not yet exist.
     1671        # editing course tickets by lecturers is not feasible.
     1672        # Course results must be imported.
    16681673        self.assertTrue('COURSE1' in self.student['studycourse']['100'].keys())
    16691674        course_ticket_path = self.student_path + '/studycourse/100/COURSE1'
Note: See TracChangeset for help on using the changeset viewer.