Skip to content

Admin action to disable users

https://redmine.teklia.com/issues/11764

A Django admin action should be added to the User admin to allow disabling users:

  • Remove all related Right instances for all selected users in one DELETE query;
  • Set is_active and all can_* permissions to False, and set an unusable password on all selected users in one UPDATE query.