We have an LTI provider moodle site. Students click on LTI links in an external site to activities in our site and are thus enrolled via LTI as students on those activities. They become a student on our site at activity level. What we want is for these students to automatically get a student role on the course containing these activities. At the moment they do seem to get access to the course automatically but I don't quite know how it works as they do not have any role at all defined at course level.
We want teachers who access the course via LTI to be teachers in the course but I'm assuming if we solve the student role assignment, we solve the teacher role assignment!
Anyone got any ideas?