Changeset 874 for WAeUP_SRP/trunk/skins/waeup_student/students_index.py
- Timestamp:
- 16 Nov 2006, 13:05:12 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r832 r874 15 15 request = context.REQUEST 16 16 redirect = request.RESPONSE.redirect 17 pm = context.portal_membership 17 mtool = context.portal_membership 18 member = mtool.getAuthenticatedMember() 18 19 19 if pm.isAnonymousUser():20 if mtool.isAnonymousUser(): 20 21 return redirect("%s/srp_anonymous_view" % context.portal_url()) 21 22 22 23 students_url = "%s/campus/students" % (context.portal_url.getPortalPath()) 23 24 25 if "ClearanceOfficers" in member.getGroups(): 26 return redirect("%s/co_search" % students_url) 24 27 if context.isManager(): 25 28 return redirect("%s/searchStudents" % students_url)
Note: See TracChangeset for help on using the changeset viewer.