cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

Deleting a place through the UI should also disable any users which are associated with that place

Open kennsippell opened this issue 1 year ago • 0 comments

What feature do you want to improve? Deleting a place

Describe the improvement you'd like

  1. Create a place in the CHT
  2. Create an offline user and set their facility_id to equal that place
  3. The user is never active and doesn't create any docs
  4. A user manager deletes the place through the UI

Current - The user can still login. They get a profoundly broken experience. User managers spend a bunch of time trying to clean up these broken users as part of user-management investigations. Desired - The user should automagically be disabled when their place is deleted.

fyi @sugat009

kennsippell avatar May 22 '24 01:05 kennsippell