User become Teacher after importing course activity

User become Teacher after importing course activity

על ידי Dhimas Prakoso בתאריך
מספר תגובות: 3

Dear All,

I have a question about importing course activity.

We're importing course activity using menu Import in Course, and it works, exactly what we want.

But.... after importing course activity, users become Teacher in those training

Is this standard Moodle thing? Or are we missing something?

In our case, we allow non editing to import (with capabilities moodle/backup:backuptargetimport & moodle/restore:restoretargetimport) but not allow them to edit the course


Before importing activity:


After importing course activity:


Thank You 

ממוצע דרוגים: -
בתגובה ל: Dhimas Prakoso

Re: User become Teacher after importing course activity

על ידי Randy Thornton בתאריך
תמונה של Documentation writers
Dhimas,

What setting do you have in Site administration > Users > Permissions > User policies :: Restorers' role in courses? The default is Teacher.

Since the Import process uses the Restore process in the background, it will assign a user that new role in accordance with that setting. In your case, since the Importer is a Non-editing teacher, it is adding the Teacher role assignment as it is set to do.

You can change that setting to "None" if you want to avoid adding any new role assignment after restores or imports.

Randy
בתגובה ל: Randy Thornton

Re: User become Teacher after importing course activity

על ידי Dhimas Prakoso בתאריך
Hi Randy,

I changed setting in Site administration > Users > Permissions > User policies :: Restorers to "None"
And.. it works just like we wanted. Non editing teacher stays

Thank You Randy for your help