Skip to content

Add severity_levels in UI dialogs related to project approval rules

What does this MR do?

Add severity_levels in UI dialogs related to project approval rules. It also changes a couple of labels to be reused in different form groups.

This is follow-up MR from the backend change exposing this field: !67067 (merged)

Backend validation and usage: !67064 (merged)

DB migration: !67062 (merged)

Updates in the API&feature Documentation will be done in the a follow-up MR.

Related issue: #335333 (closed)

Screenshots or Screencasts (strongly suggested)

New form group (i.e., severity levels):
Screen_Shot_2021-07-28_at_1.48.42_PM

Error message:
Screen_Shot_2021-07-28_at_1.49.06_PM

Behaviour on selection:
severity_levels_648

How to setup and validate locally (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Zamir Martins

Merge request reports