Skip to content

Update scan execution empty state view

Alexander Turinske requested to merge 339372-scan-execution-user into master

What does this MR do and why?

Update scan execution empty state view

  • previously if a user could not create a scan execution policy, they couldn't click the save button
  • now it shows the user an empty state
  • update tests

Screenshots or screen recordings

Page Before After
Scan Execution Policy Editor Screen_Shot_2021-10-25_at_08.57.07 Screen_Shot_2021-10-23_at_11.01.51
Network Policy Editor - Learn More Docs Screen_Shot_2021-10-23_at_11.01.56 Screen_Shot_2021-10-25_at_16.12.58
Scan Execution Policy Editor - Learn More Docs - Screen_Shot_2021-10-25_at_16.12.28

How to set up and validate locally

  1. Upload a GitLab Ultimate license
  2. Navigate to a project with Security & Compliance enabled that you are not the owner of
  3. Navigate to Security & Compliace => Policies
  4. Click the New Policy button
  5. Select the Scan Execution policy type
  6. Verify the empty state

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

Edited by Alexander Turinske

Merge request reports

Loading