Skip to content

Add can_destroy to GraphQL package type

What does this MR do and why?

This MR adds can_destroy to the package GraphQL type, so that the API can be queried and this info returned.

Specifically we need this value to enable/disable the delete button in the package list page.

Screenshots or screen recordings

Screenshot_2021-10-07_at_14.28.10

How to set up and validate locally

  1. Head to your gdk graphiql interface
  2. Query the package details

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #330846 (closed)

Edited by Nicolò Maria Mezzopera

Merge request reports