This test requires an administrator, teacher and student account.
- Log in as a teacher in a course and create an assignment with file submissions enabled in 'Submission types'
- Click the assignment and click 'View all submissions'
- Click the Edit column for the student in question and verify you do NOT see an option to 'Edit submission'.
- Log in as administrator and from Users>Permissions>Define roles, edit the teacher role to allow 'mod/assign:editothersubmission'
- Log back in as the teacher and repeat step 2.
- Click the Edit column and verify you do now see the option to 'Edit submission'
- Click this option and verify you can upload a file for the student.
- Save the changes.