When MR approvals are disabled, but approvers were previously assigned, all approvers receive a notification on every MR
Summary
When MR approvals are disabled, but approvers were previously assigned, all approvers become participants and receive a notification on every MR.
Steps to reproduce
-
Enable MR approvals
-
Assign approvers
-
Disable MR approvals
-
Create a merge request
-
All approvers show up as participants and receive notifications.
Example Project
https://gitlab.com/carmenbianca/mr-approval/merge_requests/1
I and @RipCazza are approvers in that project. MR approvals are disabled.
What is the current bug behavior?
Approvers become participants and receive notifications.
What is the expected correct behavior?
The feature is disabled, so approvers should not become participants and receive notifications.
Relevant logs and/or screenshots
N/A
Output of checks
N/A
Results of GitLab environment info
N/A
Results of GitLab application Check
N/A
Possible fixes
N/A