Ignore:
Timestamp:
16 Jun 2009, 20:43:48 (16 years ago)
Author:
Henrik Bettermann
Message:

resolve schools #7 and more ...

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  
    5555lecturer_id = getattr(course,'lecturer',None)
    5656#set_trace()
    57 if str(lecturer_id) != member_id and not context.isSectionOfficer():
     57if  member_id not in str(lecturer_id) and not context.isSectionOfficer():
    5858    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))
    5959    return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
  • WAeUP_SRP/trunk/skins/waeup_student/students_index.py

    r4299 r4300  
    2525if "ClearanceOfficers" in member.getGroups() or\
    2626   "StudentsReaders" in member.getGroups() or\
    27    "Lecturers" in member.getGroups() or\
     27   #"Lecturers" in member.getGroups() or\
    2828   "CourseAdvisers" in member.getGroups():
    2929    return redirect("%s/campus/students/search_students" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.