I am using Moodles CSV upload function to add and enrol students. Is there a way to make it so that a teacher uploading students can only enrol them on to the courses that they are currently enrolled on themselves?
Prevent teachers enrolling students onto any course via csv?
par Christopher Lee,
Nombre de réponses : 2
En réponse à Christopher Lee
Re: Prevent teachers enrolling students onto any course via csv?
par Richard Price,
Hi Christopher, I am struggling to work out how best to help you.
How are the teachers enrolling students within their courses currently?
En réponse à Richard Price
Re: Prevent teachers enrolling students onto any course via csv?
par Christopher Lee,
Thanks for your reply Richard. I appreciate what I'm asking is not simple.
I think that I have actually found a solution myself. Currently teachers have permissions to access the CSV upload where they can upload students and use the CSV to enroll them also. Simply I wanted to stop teachers enrolling students on to courses the teacher themselves were not already enrolled in.
I may have found a solution in PHP and editing the userupload/index.php by comparing all courses and my enrolled courses but I am still testing it.