when duplicating course element under the new assistant role, another teacher role is automatically added to the user

when duplicating course element under the new assistant role, another teacher role is automatically added to the user

by Юрий Давыдов -
Number of replies: 0

Hi, friends. 🙂

I made a new assistant role. I have added rights to duplicate course elements to this role:

moodle/backup:backuptargetimport
moodle/restore:restoretargetimport.

Now I get a strange situation: when duplicating under the new assistant role, another teacher role is automatically added to the user.

Can you tell me why this is happening and how to fix it?

Average of ratings: -