Added missing access check for listing of accepted orgs.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/program.py Wed Mar 18 16:14:29 2009 +0000
+++ b/app/soc/views/models/program.py Wed Mar 18 16:15:32 2009 +0000
@@ -82,6 +82,8 @@
rights['slots'] = ['checkIsDeveloper']
rights['show_duplicates'] = ['checkIsHostForProgram']
rights['assigned_proposals'] = ['checkIsHostForProgram']
+ rights['accepted_orgs'] = [('checkisAfterEvent',
+ ['accepted_organization_announced_deadline', '__all__'])]
new_params = {}
new_params['logic'] = soc.logic.models.program.logic