Something strange turned up.
I have a non-editing teacher trying to edit grades directly in the gradebook. This results in an error: 'can't update 1 for 2'. See screenshot.
The non-editing teacher does have the right to edit a grade using direct grading in the assignment module.
It seems to be a rights problem, as the admin account doesn't have this problem.