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
មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (3)
ឆ្លើយតបទៅកាន់ 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
មធ្យមភាគនៃរង្វាយតម្លៃ:Useful (1)