Resolve conflicts bypasses push restrictions
Summary
It is possible when resolving conflicts between protected branches for changes to be written to a protected branch with push restrictions
Steps to reproduce
- TBD
Example Project
jramsay-reproduce/ce-54033!1 (closed)
What is the current bug behavior?
N/A
What is the expected correct behavior?
If push permissions are disabled for the source branch, resolve conflicts in GitLab should be disabled.
Relevant logs and/or screenshots
N/A
Output of checks
This bug happens on GitLab.com
Possible fixes
Edited by James Ramsay (ex-GitLab)