Thursday, September 19, 2019

Permissions snafu when importing across courses in Moodle

The import feature in Moodle allows you to copy over resources and activites from one course into another.

When you start the import process, you choose the source course (ie, the course with the stuff you want to import) and you get to choose what to import: activities/resources, question bank, filters, blocks, etc.

Consider this scenario:

1. You have a forum in an old course for which you have removed posting permissions (maybe because you have students in that course who stay enrolled but you don't want them to use the forums any more).

2. You want to import a Book resource from the old course into a new course. You do not want to import the forums.

When you carry out this import, you would of course have the Book resource in your new course, but you may find that the students in your new course can't post on the forums any more! This is because the import process brings in the forum permissions from the old course into the new one, even though you have not imported the forums themselves. In other words, all the user permissions from the old course are copied over into the new course, regardless of which activities or resources you imported.

I would definitely put this down as one of the idiosyncrasies of Moodle. I looked it up on the Moodle Tracker and indeed there is a bug report.

So the next time you import anything from one course into another, check the user permissions in the destination course to check and fix anything that has inadvertently changed.

No comments:

Post a Comment