canvas-lms/app/controllers/quizzes
Ryan Taylor fd2b162e02 Unpublished quizzes do not show up in student JSON requests
Unpublished quizzes didn't show in JSON-API requests, but this extends
that feature to JSON requests as well.

Fixes CNVS-12272

Test plan:
  - Make two quizzes
  - Publish one
  - Confirm that api/v1/courses/:courseId/quizzes only returns a single
    quiz entry

Change-Id: If5440795d6e29121525425e85dd371f54c38b9e6
Reviewed-on: https://gerrit.instructure.com/38887
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Ahmad Amireh <ahmad@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
Product-Review: Ryan Taylor <rtaylor@instructure.com>
2014-08-08 15:47:11 +00:00
..
quiz_extensions_controller.rb add extend time modal link and dialog for ember quizzes moderate 2014-06-02 15:23:10 +00:00
quiz_groups_controller.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_ip_filters_controller.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_questions_controller.rb Ensure deleted questions aren't returned to API calls 2014-08-07 00:01:32 +00:00
quiz_reports_controller.rb Quiz Reports API - Index 2014-04-15 19:22:02 +00:00
quiz_statistics_controller.rb add caching for quiz statistics json api endpoint 2014-06-20 18:47:29 +00:00
quiz_submission_files_controller.rb namespace all of quiz into quizzes module 2014-02-18 22:17:13 +00:00
quiz_submission_questions_controller.rb Quiz Submission Questions - Bulk-answering 2014-06-26 11:13:49 +00:00
quiz_submission_users_controller.rb allow the quiz submission users endpoint to sideload quiz submissions 2014-05-07 19:31:12 +00:00
quiz_submissions_api_controller.rb Quizzes - Lock down results after first view 2014-07-15 09:47:56 +00:00
quiz_submissions_controller.rb Quizzes - Lock down results after first view 2014-07-15 09:47:56 +00:00
quizzes_api_controller.rb Unpublished quizzes do not show up in student JSON requests 2014-08-08 15:47:11 +00:00
quizzes_controller.rb DA - quiz edit page 2014-07-23 14:41:24 +00:00