--- a/app/soc/views/models/project_survey.py Sat Jul 04 16:44:08 2009 +0200
+++ b/app/soc/views/models/project_survey.py Sat Jul 04 17:02:51 2009 +0200
@@ -48,7 +48,7 @@
rights = access.Checker(params)
rights['any_access'] = ['allow']
rights['show'] = [('checkIsSurveyReadable', project_survey_logic)]
- rights['create'] = ['checkIsDeveloper'] # TODO(ljvderijk) proper access check
+ rights['create'] = ['checkIsUser']
rights['edit'] = [('checkIsSurveyWritable', project_survey_logic)]
rights['delete'] = ['checkIsDeveloper'] # TODO: fix deletion of Surveys
rights['list'] = ['checkDocumentList']