Bug (plus bugfix): moodle/site:import does not work properly

Bug (plus bugfix): moodle/site:import does not work properly

by Markus Knierim -
Number of replies: 1
Hello,

As described in MDL-12081, teachers with moodle/site:import = allow cannot import activities etc. from other courses if moodle/site:restore = prevent/prohibit -- which IMHO is an erratic behavior. I looked at the code and put together a quick fix for this problem, documented at MDL-12081. To get this fixed, please have a look at my suggested solution and vote for it -- thanks! smile

Markus
Average of ratings: -
In reply to Markus Knierim

Re: Bug (plus bugfix): moodle/site:import does not work properly

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Markus

Thanks for your bugfix, which I've voted for. approve