Skip to content

Add DestroyService for deleting GPG keys and use it when admin deletes GPG key of a user via API

Rajendra Kadam requested to merge raju249/gitlab:services-usage-7 into master

What does this MR do?

Contributes to #220127 (closed)

This change adds and uses GpgKeys::DestroyService, so that wherever GPG keys are deleted across the codebase, we use this service.

Screenshots

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
Edited by Manoj M J

Merge request reports