by Davo Smith.
This should be available as standard in Moodle assignments. In the settings enable the 'attempts reopened' feature and set it to 'manually'.
When grading each submission, just select 'yes' for reopen assignment, then the student will be able to start a new submission (optionally based on their previous submission).