app/soc/modules/ghop/views/models/student.py
changeset 3088 08b9f4de6675
parent 3079 c491d96dce2c
equal deleted inserted replaced
3087:9de33dfd6220 3088:08b9f4de6675
    77         ('checkIsNotParticipatingInProgramInScope',
    77         ('checkIsNotParticipatingInProgramInScope',
    78             [ghop_program_logic.logic, ghop_student_logic.logic,
    78             [ghop_program_logic.logic, ghop_student_logic.logic,
    79             ghop_org_admin_logic.logic, ghop_mentor_logic.logic]),
    79             ghop_org_admin_logic.logic, ghop_mentor_logic.logic]),
    80         'checkCanApply']
    80         'checkCanApply']
    81     rights['manage'] = [('checkIsMyActiveRole', ghop_student_logic.logic)]
    81     rights['manage'] = [('checkIsMyActiveRole', ghop_student_logic.logic)]
    82     rights['list_student_tasks'] = [('checkHasActiveRoleForScope',
    82     rights['list_student_tasks'] = ['checkCanOpenTaskList']
    83         ghop_student_logic.logic)]
       
    84 
    83 
    85     new_params = {}
    84     new_params = {}
    86     new_params['logic'] = soc.modules.ghop.logic.models.student.logic
    85     new_params['logic'] = soc.modules.ghop.logic.models.student.logic
    87     new_params['rights'] = rights
    86     new_params['rights'] = rights
    88 
    87