Skip to content

Add user deletion permission check in `Users::DestroyService`

Stan Hu requested to merge sh-delete-user-permission-check into master

We saw from a recent incident that the DeleteUserWorker would attempt to delete a user over and over. Revoking the permissions from the current user did not help. We should ensure that the current user does, in fact, have permissions to delete the user.

Merge request reports