##parameters=psm=None, REQUEST=None # $Id: department_index_html.py 280 2006-06-30 06:43:03Z 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.department_view_manager() return context.department_view_student()