# HG changeset patch # User Pawel Solyga # Date 1246702047 -7200 # Node ID 7df431ddcfd3124dcaf424aaf87a7146f7a24843 # Parent 4b39352e5a07cb580b9eedec96cadd65ca7416ef Remove public role type from SURVEY_TAKING_ACCESS in Survey model. diff -r 4b39352e5a07 -r 7df431ddcfd3 app/soc/models/survey.py --- a/app/soc/models/survey.py Fri Jul 03 20:41:19 2009 -0700 +++ b/app/soc/models/survey.py Sat Jul 04 12:07:27 2009 +0200 @@ -99,8 +99,8 @@ SURVEY_TAKING_ACCESS = ['student', 'mentor', 'org_admin', - 'user', - 'public'] + 'user'] + GRADE_OPTIONS = {'midterm':['mid_term_passed', 'mid_term_failed'], 'final':['final_passed', 'final_failed'], 'N/A':[] }