Ignore:
Timestamp:
26 Oct 2005, 11:54:25 (19 years ago)
Author:
joachim
Message:

=make workflows work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/students_folder_view.py

    r88 r89  
    99member = context.portal_membership.getAuthenticatedMember()
    1010if member:
    11     if 'Manager' in member.getRoles():
     11    roles = member.getRoles()
     12    if 'Manager' in roles:
    1213        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)
    1318return context.students_folder_view_all(psm=psm)
Note: See TracChangeset for help on using the changeset viewer.