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