Skip to content

Enable delete of package in refactored package details

What does this MR do?

In this MR we are enabling again the functionality to delete a package in the package details page. Note that this functionality enabling is part of the refactor of this app to use apollo / graphql and is bundled in a huge list of small MRs that accomplish this refactor.

This whole functionality is behind a feature flag: #334786 (closed)

Screenshots or Screencasts (strongly suggested)

DeletePackage

How to setup and validate locally (strongly suggested)

  1. Enable the invite modal

    Feature.enable(:package_details_apollo)
  2. Visit any group or project Package Registry

  3. Click on a package registry item to see the details

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 #330847 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports