At New Quizzes Item Analysis the submissions
with the student view should be excluded. For other LTI tools
it is a useful info that the tool is launched by a student
view `fake student`.
closes: QUIZ-12877
flag=none
test plan:
- have an LTI tool tha could be launched during test steps
- add `canvas_user_student_view=$com.instructure.User.student_view`
as custom lti parameter
- launch tool with a student user
- ensure `custom_canvas_user_student_view` is false
- launch tool with an admin user
ensure `custom_canvas_user_student_view` is false
- launch tool with from a student view
- ensure `custom_canvas_user_student_view` is true
Change-Id: If86ac6452d01045fc85331aaaf42052a5319f512
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/334992
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Product-Review: Alexis Nast <alexis.nast@instructure.com>
Reviewed-by: Paul Gray <paul.gray@instructure.com>
QA-Review: Rajmund Csehil <rajmund.csehil@instructure.com>