Skip to content

Protected packages: Show protection rules in project setting ui

What does this MR do and why?

  • This frontend -related MR uses the GraphQL API to interact with the backend
  • This MR is part of the epic "protected packages", see Identify packages as protected to prevent accid... (&5574)
  • This MR just focusses on:
    • a) listing the existing package protection rules of this project
  • Form for creating, updating and deleting protection rules will be part of follow-up MRs

🛠 with at Siemens

Screenshots or screen recordings

This MR just adds the table showing the current package protection rules for this project, see the screenshot below.

image

How to set up and validate locally

  1. In rails console enable the experiment fully
Feature.enable(:packages_protected_packages)
  1. Go to http://gdk.test:3000/flightjs/Flight/-/settings/packages_and_registries
  2. See the list of protection rules

Todos

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 #413641

Edited by Gerardo Navarro

Merge request reports

Loading