For duplicating a course, I use the web service function "coure_course_duplicate_course". My goal is to also have enrolment plugins duplicated. As there is no setting to trigger this, I tried to realize it by including enrolled students. But when I do this, I get the following error:
Debug info:
Error code: setting_locked_by_permission
$a contents:
What am I doing wrong? Is my way of triggering keeping enrolment methods correct? If yes, does anyone know how I can solve the problem mentioned abive?
Thanks a lot,
Flotter