Skip to content

Add license check deprecation banner to project

Alexander Turinske requested to merge 392002-add-license-check-deprecation into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Add license check deprecation banner to project

  • show on top of project page
  • show on merge request page

Changelog: changed

EE: true

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Scenario Screenshot
project with License-check enabled Screenshot_2023-03-20_at_15.31.59
project without License-check enabled Screenshot_2023-02-24_at_10.34.10
CE Screenshot_2023-02-24_at_12.04.36
Settings page Screenshot_2023-03-20_at_15.31.43

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Navigate to http://gdk.test:3443/flightjs/Flight, verify banner does not render at the top of the page
  2. Navigate to http://gdk.test:3443/flightjs/Flight/-/settings/merge_requests and create the License-check approval
  3. Verify banner renders at the top of the page and all links work
  4. As owner, verify scan result policy link navigates to http://gdk.test:3443/flightjs/Flight/-/security/policies/new?type=scan_result_policy
  5. As a non-owner, verify scan result policy link navigates to http://gdk.test:3443/flightjs/Flight/-/security/policies`

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 #392002 (closed)

Edited by Alexander Turinske

Merge request reports