Changeset 1051
- Timestamp:
- 13 Dec 2006, 18:35:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/start_clearance.py
r1032 r1051 11 11 12 12 type_name = 'Student' 13 request=REQUEST 13 14 ti = context.portal_types[type_name] 14 REQUEST.set('type_name',type_name)15 redirect = REQUEST.RESPONSE.redirect15 request.set('type_name',type_name) 16 redirect = request.RESPONSE.redirect 16 17 wf = context.portal_workflow 17 18 validate = REQUEST.has_key("cpsdocument_create_button") … … 21 22 22 23 info = context.getStudentInfo() 24 if info is None: 25 member_id = str(context.portal_membership.getAuthenticatedMember()) 26 logger.info('"%s","access to", "%s"' % (member_id,request.get('PATH_INFO').split('/')[-2])) 27 return redirect("%s/srp_invalid_access" % context.portal_url()) 23 28 app_doc = info['app_doc'] 24 29 review_state = info['review_state']
Note: See TracChangeset for help on using the changeset viewer.