This test requires an administrator, teacher and student account.
1.Log in to a course as a teacher and create an assignment with online text enabled in Submission types
2. Log in as a student and add the text "This is a test' and save.
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 Edit and verify you do see the option to 'Edit submission'
8. Click this option and verify you are able to delete the student's text from step 2 and replace it with your own text 'Checked' .
9. Save the changes.