Capabilities/moodle/grade:manage
From MoodleDocs
- This allows a user to manage grade items and categories in the gradebook (create, edit, lock, hide, delete, etc.)
- This capability is allowed for the default role of teacher and is not set for the default role of non-editing teacher.