How to delete another user?

  1. Is there a built-in way for an admin to delete or deactivate another user?
  2. If not, what’s the recommended approach?
  3. Any side effects I should be aware of?
  4. If this feature doesn’t exist yet, is there an issue to track it?

There is no built in way to delete a user, only a manual one via the console:

user = User.find_by(email: "[email protected]")

user.destroy

This will delete the user and all their data.

Except for user data deletion, no side effects will be caused.

There is no such feature and I don’t think there is big demand for it.