# HG changeset patch # User Pawel Solyga # Date 1238515217 0 # Node ID 9a9307b223124a3024037e4b9727826873e28727 # Parent f1370e1d087171d34262d56a395a0005acbceb31 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 diff -r f1370e1d0871 -r 9a9307b22312 app/soc/views/models/student_proposal.py --- 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