Changeset 3816


Ignore:
Timestamp:
15 Dec 2008, 06:44:18 (16 years ago)
Author:
Henrik Bettermann
Message:

resolve ticket FUTMinna #18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/interswitch_cb.py

    r3240 r3816  
    3434access_info = context.waeup_tool.getAccessInfo(context)
    3535student_id = access_info['student_id']
    36 if student_id is None: # or student_id != member_id:
     36if not context.isSectionOfficer() and (student_id is None or student_id != member_id):
    3737    logger.info('%s tried to access payment object of %s' % (member_id,student_id))
    3838    referer = request.get('HTTP_REFERER','none')
Note: See TracChangeset for help on using the changeset viewer.