Merge pull request #11523 from edx/perf/speed-up-slow-user-role-ops

Don't blow away the role cache when updating.
This commit is contained in:
Toby Lawrence
2016-02-23 06:55:00 -05:00
3 changed files with 36 additions and 30 deletions

View File

@@ -233,7 +233,7 @@ class TestCourseIndex(CourseTestCase):
# delete nofications that are dismissed
CourseRerunState.objects.get(id=rerun_state.id)
self.assertFalse(has_course_author_access(user2, rerun_course_key))
self.assertTrue(has_course_author_access(user2, rerun_course_key))
def assert_correct_json_response(self, json_response):
"""