canvas-lms/app/observers
Jorge Arteaga b98c09f85e announce quizzes locked/unlocked on LiveEvents
closes QUIZ-9877
flag=none

test plan:
- setup a Blueprint course
- add new quizzes to the course
- lock and unlock NewQuiz assignments
- observe that blueprint_restrictions_updated
  live events are sent
- the live-event body should contain the
  following data:
  * canvas_assignment_id
  * master_content_tag
  * restrictions
  * use_default_restrictions
- locking other objects, e.g. modules, pages,
  regular assignments, etc. should not emit
  blueprint_restrictions_update

Change-Id: Ib009cb3854349ab359d2062d334ec6f4fd905822
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/298373
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Logan <james.logan@instructure.com>
QA-Review: James Logan <james.logan@instructure.com>
Product-Review: Marissa Pio Roda <marissa.pioroda@instructure.com>
2022-08-18 17:53:37 +00:00
..
cacher.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00
live_events_observer.rb announce quizzes locked/unlocked on LiveEvents 2022-08-18 17:53:37 +00:00
stream_item_cache.rb RuboCop: Style/StringLiterals, Style/StringLiteralsInInterpolation 2021-11-25 14:03:06 +00:00