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. Log in as a student and upload a file.
3. As the teacher, click the assignment and click 'View/grade all submissions'
4. Click the Edit column for the student in question and verify you do NOT see an option to 'Edit submission'.
5. Log in as administrator and from Users>Permissions>Define roles, edit the teacher role to allow mod/assign:editothersubmission'
6. Log back in as the teacher and repeat step 3.
7. Click the edit column and verify you do see the option to 'Edit submission'
8. Click this option and verify you can delete the file uploaded in step 2.