##parameters=post_id=None, REQUEST=None # $Id: jamb_index_html.py 91 2005-10-26 12:30:11Z joachim $ """Default view for the Student.""" member = context.portal_membership.getAuthenticatedMember() #return context.student_view_manager() if not context.portal_membership.isAnonymousUser: roles = member.getRoles() if 'Manager' in roles: return context.cpsdocument_view() elif 'StudentManager' in roles: return context.jamb_view_manager() return context.jamb_view_student()