Posts made by Tim Hunt

Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
If you are trying to investigate a problem, and all you are seeing is blank pages, then the first thing to do is to turn on Debugging so instead you see error messages. Then you have a much better chance to work out what the problems are.
Average of ratings: Useful (2)
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Sure.

Sorry I did not have time to give a complete answer. I was only able to give some info.

However, for what I can see, it looks like Moodle is designed so this should be possible. And, proving it works as admin is a worthwhile step on the way to working this out. If you can do it as admin, then doing it as teacher should just be a matter of working out the right permissions (which is where your question started).
Average of ratings: Useful (2)
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The code just checks mod/assign:submit, and when I am logged in as admin, I see the 'Submit for grading' action in hthe Edit menu in the grading table.

This action only apears if the student's attempt is currently in draft state.
Average of ratings: Useful (1)