Changeset 13046 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 14 Jun 2015, 11:33:07 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/permissions.py
r12900 r13046 355 355 """The local Lecturer role can be assigned at course level. 356 356 The role allows to view all data and to list or export all student 357 ata withincourse the local role is assigned. Lecturers can't access357 data within the course the local role is assigned. Lecturers can't access 358 358 student data directly but they can edit the scores in course tickets. 359 359 """ -
main/waeup.kofa/trunk/src/waeup/kofa/students/studylevel.py
r13031 r13046 309 309 @property 310 310 def removable_by_student(self): 311 """True if student is allowed to remove the ticket. 312 """ 311 313 return not self.mandatory 312 314 313 315 @property 314 316 def editable_by_lecturer(self): 317 """True if lecturer is allowed to edit the ticket. 318 """ 315 319 try: 316 320 cas = grok.getSite()[ -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13031 r13046 1623 1623 1624 1624 def test_handle_courses_by_ca(self): 1625 # Create course adviser1626 1625 self.app['users'].addUser('mrsadvise', 'mrsadvisesecret') 1627 1626 self.app['users']['mrsadvise'].email = 'mradvise@foo.ng' … … 1751 1750 1752 1751 def test_handle_courses_by_lecturer(self): 1753 # Create course lecturer1754 1752 self.app['users'].addUser('mrslecturer', 'mrslecturersecret') 1755 1753 self.app['users']['mrslecturer'].email = 'mrslecturer@foo.ng'
Note: See TracChangeset for help on using the changeset viewer.