- Timestamp:
- 26 Oct 2005, 11:54:25 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/students_folder_view.py
r88 r89 9 9 member = context.portal_membership.getAuthenticatedMember() 10 10 if member: 11 if 'Manager' in member.getRoles(): 11 roles = member.getRoles() 12 if 'Manager' in roles: 12 13 return context.folder_view() 14 elif 'StudentManager' in roles: 15 return context.students_folder_view_manager(psm=psm) 16 elif 'Student' in roles: 17 return context.students_folder_view_student(psm=psm) 13 18 return context.students_folder_view_all(psm=psm)
Note: See TracChangeset for help on using the changeset viewer.