Skip to content

Packages GraphQL: Delete files mutation

What does this MR do?

This MR adds a dedicated mutation to delete package files

Screenshots or Screencasts (strongly suggested)

Screenshot_2021-07-20_at_11.33.40

this screenshot has been taken by forcing the ActiveRecord to return a TEST error in the before_destroy callback

Screenshot_2021-07-19_at_16.55.55

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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

Related to #335570 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports