Skip to content

Creates audit event when approval rule is deleted

What does this MR do and why?

Records an audit event when user deletes MR approval rule. audit event is visible under Project > Audit Events and Admin Area > Audit Log.

Screenshots or screen recordings

Screenshot
Project > Audit Events Screenshot_2022-03-07_at_3.09.42_PM
Admin Area > Audit Log Screenshot_2022-03-07_at_3.16.45_PM

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Add Approval Rule from Project > Settings > General > Merge request approvals.
  2. Delete Approval Rule using delete button.
  3. Check for audit event under Project > Audit Events and Admin Area > Audit Log.

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

Edited by Harsimar Sandhu

Merge request reports