Org applications can now be deleted up to the deadline.
As requested in Issue 341.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/org_app.py Thu Mar 19 00:12:59 2009 +0000
+++ b/app/soc/views/models/org_app.py Thu Mar 19 08:04:07 2009 +0000
@@ -58,7 +58,9 @@
rights = access.Checker(params)
rights['create'] = ['checkIsDeveloper']
- rights['delete'] = ['checkIsDeveloper']
+ rights['delete'] = [('checkCanEditGroupApp',
+ [org_app_logic.logic]),
+ ('checkIsActivePeriod', ['org_signup', 'scope_path'])]
rights['edit'] = [('checkCanEditGroupApp',
[org_app_logic.logic]),
('checkIsActivePeriod', ['org_signup', 'scope_path'])]