Protected packages: Create package protection rules in project settings
requested to merge gitlab-community/gitlab:413641-gerardo-navarro-protected-packages-add-project-settings-ui-create into master
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/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
Screenshots or screen recordings
2024-01-05-gitlab-protected-packages-create-package-protection-rules-in-project-settings-ui-low
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