Project: moodle
Issue MDL-51962: Validate that the grade set in user_competency is valid
The grade in a user_competency should be validated against the scale.
Story points: 1