Make invalid Student Proposals also accessible for Hosts, Mentors and Org admins. Previously only new and pending Student Proposals could be viewed.
Patch by: Pawel Solyga
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/student_proposal.py Tue Mar 31 15:45:39 2009 +0000
+++ b/app/soc/views/models/student_proposal.py Tue Mar 31 16:00:17 2009 +0000
@@ -84,7 +84,7 @@
('checkCanStudentPropose', ['scope_path', True])]
rights['review'] = [('checkRoleAndStatusForStudentProposal',
[['org_admin', 'mentor', 'host'],
- ['active'], ['new', 'pending']])]
+ ['active'], ['new', 'pending', 'invalid']])]
new_params = {}
new_params['logic'] = soc.logic.models.student_proposal.logic