gitlab-org--gitlab-foss/spec/services/users
Stan Hu e23c803769
Add user deletion permission check in Users::DestroyService
We saw from a recent incident that the `Users::DestroyService` 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.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-20 17:19:11 +01:00
..
destroy_spec.rb Add user deletion permission check in Users::DestroyService 2017-02-20 17:19:11 +01:00
refresh_authorized_projects_service_spec.rb Synchronize all project authorization refreshing 2017-01-16 16:37:48 -05:00