Swap out container scanning for registry card
What does this MR do and why?
This MR removes the initial iteration of the new container scanning for registry feature card in !155202 (merged) and !147968 (merged)
in favor of a different pattern that is user role aware and closely resembles an existing pattern for the secret detection card.
- Introduce user role aware feature card
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.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
As a EE Ultimate user Security Configuration Page
-
Import the https://gitlab.com/gitlab-org/frontend/playground/gitlab-mr-widgets-demo project locally -
Run Pipeline on Master -
Navigate from Secure -> Security Configuration
page -
Should be able to toggle if a owner, or maintainer roll. Disabled if lower role
As a EE Premium user Security Configuration Page
-
Import the https://gitlab.com/gitlab-org/frontend/playground/gitlab-mr-widgets-demo project locally -
Run Pipeline on Master -
Navigate from Secure -> Security Configuration
page -
Should be disabled
As a EE Free user Security Configuration Page
-
Import the https://gitlab.com/gitlab-org/frontend/playground/gitlab-mr-widgets-demo project locally -
Run Pipeline on Master -
Navigate from Secure -> Security Configuration
page -
Should be disabled
Related to #466163 (closed)
Edited by Fernando Cardenas