Disables adding & editing approval rules when a merge request is merged
What does this MR do and why?
This changes the approval rules on the merge request edit page so that a user can't add or edit any approval rules after a merge request has been merged.
Screenshots or screen recordings
How to set up and validate locally
- Visit a merged merge request
- Click edit
- Click
Approval rules
- The input should be disabled
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.