Changeset 3025
- Timestamp:
- 15 Jan 2008, 10:33:48 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/WAeUPTool.py
r3014 r3025 180 180 requested_id = context.getStudentId() 181 181 student_id = None 182 if not is_student and requested_id: 183 student_id = requested_id 184 elif is_anonymous or member_id != requested_id: 185 logger.info('%s tried to access %s of %s' % (member_id,context.portal_type,requested_id)) 186 else: 187 student_id = member_id 182 if is_allowed: 183 if not is_student and requested_id: 184 student_id = requested_id 185 elif is_anonymous or member_id != requested_id: 186 logger.info('%s tried to access %s of %s' % (member_id,context.portal_type,requested_id)) 187 else: 188 student_id = member_id 188 189 info['student_id'] = student_id 189 190 return info
Note: See TracChangeset for help on using the changeset viewer.