Fixed two bugs introduced in r2160.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
--- a/app/soc/views/models/organization.py Tue Mar 03 20:03:16 2009 +0000
+++ b/app/soc/views/models/organization.py Tue Mar 03 21:04:50 2009 +0000
@@ -80,8 +80,8 @@
rights['applicant'] = [('checkIsApplicationAccepted',
org_app_logic.logic)]
rights['list_proposals'] = [('checkHasAny', [
- [('checkHasActiveRoleForKeyFieldsAsScope', org_admin_logic.logic),
- ('checkHasActiveRoleForKeyFieldsAsScope', mentor_logic.logic)]
+ [('checkHasActiveRoleForKeyFieldsAsScope', [org_admin_logic.logic]),
+ ('checkHasActiveRoleForKeyFieldsAsScope', [mentor_logic.logic])]
])]
new_params = {}
@@ -215,6 +215,8 @@
except out_of_band.Error:
is_host = False
+ new_params = {}
+
if is_host:
new_params['list_action'] = (redirects.getAdminRedirect, params)
else: