Changeset 89 for waeup_product/trunk/skins/waeup_default/university_view.py
- Timestamp:
- 26 Oct 2005, 11:54:25 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/university_view.py
r87 r89 6 6 7 7 member = context.portal_membership.getAuthenticatedMember() 8 #return context.folder_view() 8 9 9 if member: 10 10 if 'Manager' in member.getRoles(): 11 11 return context.folder_view() 12 elif 'Students' in member.getGroups(): 13 return context.students.students_folder_view_student(psm=psm,groups=groups) 14 elif 'StudentManager' in member.getGroups(): 15 return context.waeup_view_manager(psm=psm,groups=groups) 16 return context.students.students_folder_view_anon(psm=psm,groups=groups) 12 return context.university_view_all(psm=psm)
Note: See TracChangeset for help on using the changeset viewer.