I think Teresa's solution sounds a good one -I have also noticed Ibrahim you have added it to the tracker, so for others, it is here MDL-29469
Roles and permissions
Prevent Teacher from assign role in selfenrollment??
This discussion has been locked so you can no longer reply to it.