Protected packages: Create package protection rules in project settings
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 providing a form to creating new package protection rules
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
MR Checklist (@gerardo-navarro)
- Changelog entry added, if necessary
-
Documentation created/updatedvia this MR -
Documentation reviewed by technical writerorfollow-up review issuecreated - Tests added for this feature/bug
- Tested in all supported browsers
- Conforms to the code review guidelines
-
Conforms to themerge request performance guidelines - Conforms to the style guides
- Conforms to the javascript style guides
-
Conforms to thedatabase guides
Screenshots or screen recordings
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:packages_protected_packages)- Go to http://gdk.test:3000/flightjs/Flight/-/settings/packages_and_registries
- Start adding new package protection rules and play around with the form
Related to #413641
Edited by Gerardo Navarro
