app/soc/views/models/mentor.py
changeset 3032 f3886d1b00a5
parent 3029 3c09b9396e2e
child 3055 7f922641ccc9
equal deleted inserted replaced
3031:7678f72140e6 3032:f3886d1b00a5
    64         ('checkIsNotStudentForProgramOfOrg', [org_logic.logic,
    64         ('checkIsNotStudentForProgramOfOrg', [org_logic.logic,
    65                                               student_logic.logic])]
    65                                               student_logic.logic])]
    66     rights['request'] = [
    66     rights['request'] = [
    67         ('checkIsNotStudentForProgramOfOrg',
    67         ('checkIsNotStudentForProgramOfOrg',
    68             [org_logic.logic, student_logic.logic]),
    68             [org_logic.logic, student_logic.logic]),
    69         ('checkCanMakeRequestToGroup', org_logic)]
    69         ('checkCanMakeRequestToGroup', org_logic.logic)]
    70     rights['process_request'] = [
    70     rights['process_request'] = [
    71         ('checkHasActiveRoleForScope', soc.logic.models.org_admin.logic),
    71         ('checkHasActiveRoleForScope', soc.logic.models.org_admin.logic),
    72         ('checkCanProcessRequest', 'mentor')]
    72         ('checkCanProcessRequest', 'mentor')]
    73     rights['manage'] = [
    73     rights['manage'] = [
    74         ('checkIsAllowedToManageRole', [soc.logic.models.mentor.logic,
    74         ('checkIsAllowedToManageRole', [soc.logic.models.mentor.logic,