Skip to content

local/courseduplication - A Moodle asynchronous course duplication plugin

License

Notifications You must be signed in to change notification settings

liip/moodle-local_courseduplication

Repository files navigation

local/courseduplication - A Moodle asynchronous course duplication plugin

This plugin works by allowing some users to schedule course duplications. These are then processed asynchronously by a Moodle scheduled task which will perform a backup and then a restore of that course in the requested category.

Capabilities

The advantage of that approach is that users which do not necessarily have standard backup and/or restore capabilites can be allowed to perform course duplication on their own.

Two capabilities are used to control who can duplicate courses:

  • local/courseduplication:backup_course
  • local/courseduplication:restore_course

Options

Course duplicator role: Allows to define a default role for the user responsible for duplications

Debugging

You can force the tasks to be executed from the commandline via:

/opt/orchestration/bin/php /var/www/html/admin/cli/scheduled_task.php --execute='\local_courseduplication\task\process_duplicate_queue'

Authors

This plugin was developed by Liip AG https://www.liip.ch/, the swiss Moodle Partner.

About

local/courseduplication - A Moodle asynchronous course duplication plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages