Brown paper bag "without tea" morning typo fix in Survey View.
authorLennard de Rijk <ljvderijk@gmail.com>
Wed, 01 Jul 2009 14:42:54 +0200
changeset 2471 04f13163c1e8
parent 2470 6c3b7dd8b770
child 2472 def87d97596d
Brown paper bag "without tea" morning typo fix in Survey View.
app/soc/views/models/survey.py
--- a/app/soc/views/models/survey.py	Wed Jul 01 14:28:51 2009 +0200
+++ b/app/soc/views/models/survey.py	Wed Jul 01 14:42:54 2009 +0200
@@ -99,7 +99,7 @@
     rights['any_access'] = ['allow']
     rights['show'] = [('checkIsSurveyReadable', survey_logic)]
     rights['create'] = ['checkIsUser']
-    rights['edit'] = [('checkIsSurveyWritable', suvery_logic)]
+    rights['edit'] = [('checkIsSurveyWritable', survey_logic)]
     rights['delete'] = [('checkIsSurveyWritable', survey_logic)]
     rights['list'] = ['checkDocumentList']
     rights['pick'] = ['checkDocumentPick']