equal
deleted
inserted
replaced
82 rights['apply'] = [ |
82 rights['apply'] = [ |
83 ('checkIsStudent', ['scope_path', ['active']]), |
83 ('checkIsStudent', ['scope_path', ['active']]), |
84 ('checkCanStudentPropose', ['scope_path', True])] |
84 ('checkCanStudentPropose', ['scope_path', True])] |
85 rights['review'] = [('checkRoleAndStatusForStudentProposal', |
85 rights['review'] = [('checkRoleAndStatusForStudentProposal', |
86 [['org_admin', 'mentor', 'host'], |
86 [['org_admin', 'mentor', 'host'], |
87 ['active'], ['new', 'pending']])] |
87 ['active'], ['new', 'pending', 'invalid']])] |
88 |
88 |
89 new_params = {} |
89 new_params = {} |
90 new_params['logic'] = soc.logic.models.student_proposal.logic |
90 new_params['logic'] = soc.logic.models.student_proposal.logic |
91 new_params['rights'] = rights |
91 new_params['rights'] = rights |
92 new_params['name'] = "Student Proposal" |
92 new_params['name'] = "Student Proposal" |