Brown paper bag fix for using non-existing logic in ProjectSurvey views.
--- a/app/soc/views/models/grading_project_survey.py Sat Jul 04 15:59:19 2009 +0200
+++ b/app/soc/views/models/grading_project_survey.py Sat Jul 04 16:23:00 2009 +0200
@@ -56,7 +56,7 @@
rights['delete'] = ['checkIsDeveloper'] # TODO: fix deletion of Surveys
rights['list'] = ['checkDocumentList']
# TODO(ljvderijk) add Project check
- rights['take'] = [('checkIsSurveyTakeable', survey_logic)]
+ rights['take'] = [('checkIsSurveyTakeable', grading_survey_logic)]
new_params = {}
new_params['logic'] = grading_survey_logic
--- a/app/soc/views/models/project_survey.py Sat Jul 04 15:59:19 2009 +0200
+++ b/app/soc/views/models/project_survey.py Sat Jul 04 16:23:00 2009 +0200
@@ -53,7 +53,7 @@
rights['delete'] = ['checkIsDeveloper'] # TODO: fix deletion of Surveys
rights['list'] = ['checkDocumentList']
# TODO(ljvderijk) add Project check
- rights['take'] = [('checkIsSurveyTakeable', survey_logic)]
+ rights['take'] = [('checkIsSurveyTakeable', project_survey_logic)]
new_params = {}
new_params['logic'] = project_survey_logic