- Is there a built-in way for an admin to delete or deactivate another user?
- If not, what’s the recommended approach?
- Any side effects I should be aware of?
- 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.