Project: moodle
Issue MDL-52744: grade_competency_in_course missing security check
This function needs to check that the user has the tool/lp:coursecompetencygradable capability in the course.
Story points: 2