Changed delete rights due to comments on r2138.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/club_app.py Tue Mar 03 23:27:39 2009 +0000
+++ b/app/soc/views/models/club_app.py Wed Mar 04 16:29:21 2009 +0000
@@ -51,8 +51,7 @@
rights = access.Checker(params)
rights['create'] = ['checkIsUser']
- rights['delete'] = [('checkCanEditGroupApp',
- [club_app_logic.logic])]
+ rights['delete'] = ['checkIsDeveloper']
rights['edit'] = [('checkCanEditGroupApp',
[club_app_logic.logic])]
rights['list'] = ['checkIsDeveloper']
--- a/app/soc/views/models/org_app.py Tue Mar 03 23:27:39 2009 +0000
+++ b/app/soc/views/models/org_app.py Wed Mar 04 16:29:21 2009 +0000
@@ -60,9 +60,7 @@
rights = access.Checker(params)
rights['create'] = ['checkIsDeveloper']
- rights['delete'] = [('checkCanEditGroupApp',
- [org_app_logic.logic]),
- ('checkIsActivePeriod', ['org_signup', 'scope_path'])]
+ rights['delete'] = ['checkIsDeveloper']
rights['edit'] = [('checkCanEditGroupApp',
[org_app_logic.logic]),
('checkIsActivePeriod', ['org_signup', 'scope_path'])]