Add invalid approvers to be further used by the MR widget frontend code
What does this MR do and why?
Add invalid approvers to be further used by the MR widget frontend code.
Invalid
will be applied to MRs:
- when the author is the only eligible approver.
- when there is no eligible approver assigned to the rule.
Related issue: #334698 (closed)
Frontend related MR: !88941 (merged)
Documentation related MR: !88943 (merged)
Metrics will be added as part of this MR: !89345 (merged)
How to set up and validate locally
- Create a security project as described in the docs
- Create a new scan result policy with the project owner
- [Scenario 1] Assign either an invalid user or group as approvers.
- [Scenario 2] Assign approver to be the same as the MR author.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zamir Martins