Skip to content

Adds different status code when user deletion fails

Alin Ciciu requested to merge 20890-soft-delete-user-api-status-code into master

What does this MR do?

Adds different status code (403 instead of 204) when users can't be soft deleted through the API.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #20890 (closed)

Edited by Alin Ciciu

Merge request reports