moodle-tool_mergeusers icon indicating copy to clipboard operation
moodle-tool_mergeusers copied to clipboard

Create Bulk Merge Capability

Open itrenewals opened this issue 2 years ago • 1 comments

Due to LDAP changes we find that we have a lot of accounts that are now in need of merger, but there seems to be no way to merge in bulk. It would be helpful to have a way to either upload a CSV file or some search result from Moodle itself to feed into the tool so that this is not a one-user-at-a-time operation.

itrenewals avatar Oct 06 '22 20:10 itrenewals

Hi! Thanks for contacting.

There is already an API to process merging un bulk. But this is a PHP API that you have to implement on your behalf. It is explained on the README file.

Actually, we have it implemented on our instance on production for our specific settings.

Hope that helps.

If you want to provide a patch for supporting merging by loading CSV, it will be very welcome.

Thanks for your time.

Jordi

jpahullo avatar Oct 07 '22 14:10 jpahullo