--- a/app/soc/views/helper/access.py Fri Jul 03 22:36:10 2009 +0200
+++ b/app/soc/views/helper/access.py Fri Jul 03 18:23:12 2009 -0700
@@ -1675,7 +1675,7 @@
"""
if django_args['prefix'] != 'program':
- # TODO : update when generic surveys are allowe
+ # TODO: update when generic surveys are allowe
return self.deny(django_args)
survey = survey_logic.getFromKeyFieldsOr404(django_args)
@@ -1685,10 +1685,6 @@
role = survey.taking_access
- if role == 'public':
- # TODO : are we sure we want public surveys?
- return self.allow(django_args)
-
if role == 'user':
return self.checkIsUser(django_args)