Skip to content

Disables adding & editing approval rules when a merge request is merged

Phil Hughes requested to merge ph/432961/preventApprovalEditsMergedMR into master

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.

#432961 (closed)

Merge request reports