Changeset 4300 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 16 Jun 2009, 20:43:48 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py
r4043 r4300 55 55 lecturer_id = getattr(course,'lecturer',None) 56 56 #set_trace() 57 if str(lecturer_id) != member_idand not context.isSectionOfficer():57 if member_id not in str(lecturer_id) and not context.isSectionOfficer(): 58 58 logger.info('%s tried to access course result record %s of %s but is not a lecturer of this course' % (member_id,course_id,requested_id)) 59 59 return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) -
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r4299 r4300 25 25 if "ClearanceOfficers" in member.getGroups() or\ 26 26 "StudentsReaders" in member.getGroups() or\ 27 "Lecturers" in member.getGroups() or\27 #"Lecturers" in member.getGroups() or\ 28 28 "CourseAdvisers" in member.getGroups(): 29 29 return redirect("%s/campus/students/search_students" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.