learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
755 stars 637 forks source link

Allow admins to remove LOD users from facility, and import them outside of the setup wizard #12226

Open marcellamaki opened 1 month ago

marcellamaki commented 1 month ago

Overview

To improve the device management workflow, a superadmin on an LOD device with >1 users should be able to remove and import users directly through user management.

Expected Behavior

Resources

bjester commented 1 month ago

when removing learners, we should remove the associated certificate used for syncing that particular user. you can follow this bit of code to see how that is created in the first place https://github.com/learningequality/kolibri/blob/5c4aac7ec661f7ad6e5907bcddc137177bb4d97f/kolibri/core/auth/management/utils.py#L197