Capabilities/moodle/legacy:teacher
From MoodleDocs
moodle/legacy:educator is implemented for backward compatibility. It is flag to tell Moodle that this role is a "non-editing educator" role. It is not required to set any legacy flags.