closes EVAL-1028
flag=none
Test Plan:
Prerequisites: Have a course with the anonymous grading feature option
turned on.
Anonymous Assignment:
1. Create a file upload assignment with the anonymous grading setting
enabled.
2. As a student, submit a file to the assignment.
3. As the teacher, download the student submissions.
4. Re-upload the zip file of student submissions. Notice that the
confirmation page anonymizes student names. Student names should be
shown as "Anonymous Student" and should link to the student's
submission in SpeedGrader. File names should link to the individual
file download, and the URL should not contain user IDs.
Non-Anonymous Assignment:
1. Create a file upload assignment with the anonymous grading setting
disabled.
2. As a student, submit a file to the assignment.
3. As the teacher, download the student submissions.
4. Re-upload the zip file of student submissions. Notice that the
confirmation page does not anonymize student names. Student name
links should link to the student's submission page. File names should
link to the individual file download, and the URL should contain the
user's ID.
Change-Id: Ic3fd47ca4febb273840f360d3ad15735d6eb7efc
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/244712
Reviewed-by: Gary Mei <gmei@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Jody Sailor