Commit Graph

1 Commits

Author SHA1 Message Date
James Williams 09b2d1a7f5 touch content after changing course public visibility settings
also fixes an issue with logging false setting changes

test plan:
* create a course with content (assignments, quizzes, etc)
* set the course as public
* in another browser/incognito window should be able to view the
 content
* in the course settings, turn off the public setting
* refresh the content pages in the other window
* should be unauthorized now (i.e. it didn't cache the setting)

(bonus test)
* enable "Disable comments on announcements" for the course
 (under the more options section)
* after refreshing, save another change to the course
* check the course activity logs in the account admin tools
* should not have logged a false change to the course settings

closes #CNVS-18580 #CNVS-18656

Change-Id: I65e4169ecb158207cd52126c31c52cf93a4a7cae
Reviewed-on: https://gerrit.instructure.com/49165
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
2015-02-26 12:37:48 +00:00