##parameters=psm=None, REQUEST=None # $Id: faculty_index_html.py 96 2005-10-27 06:51:08Z joachim $ """Default view for a Faculty.""" member = context.portal_membership.getAuthenticatedMember() if not context.portal_membership.isAnonymousUser(): roles = member.getRoles() if 'Manager' in roles: return context.folder_view() elif 'StudentManager' in roles: return context.faculty_view_manager() return context.faculty_view_student()