# HG changeset patch # User Lennard de Rijk # Date 1237392932 0 # Node ID ba42b6cda8ccdbf5af0b3ac273302e61e43ce2ce # Parent 800ec7253cf4a9780d93dc5df220590ef19d2347 Added missing access check for listing of accepted orgs. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 800ec7253cf4 -r ba42b6cda8cc app/soc/views/models/program.py --- 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