Changeset 1090 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
19 Dec 2006, 07:31:18 (18 years ago)
Author:
joachim
Message:

correct fix for getApplicationInfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getApplicationInfo.py

    r1088 r1090  
    2727info = {}
    2828requested_id = context.getStudentId()
    29 if member_id != requested_id:
     29if requested_id and not context.isStaff() and member_id != requested_id:
    3030    logger.info('"%s", "accessed application object of", "%s"' % (member_id,requested_id))
    3131    student_id = requested_id
     32elif context.isStaff():
     33    student_id = requested_id
    3234else:
    3335    student_id = member_id
Note: See TracChangeset for help on using the changeset viewer.