Cannot run pipeline from MR - Permissions error
Summary
Cannot run pipeline via
Project -> Merge Requests -> Certain MR -> Pipelines (tab) -> Run pipeline (button)
show error You do not have permission to run a pipeline on this branch.
Steps to reproduce
Have project maintainer
role
Project -> Merge Requests -> Certain MR -> Pipelines (tab) -> Run pipeline (button)
show error You do not have permission to run a pipeline on this branch.
but via
Project -> Pipelines -> Run pipeline (button) -> Specify the same branch -> Run
all fine
Example Project
What is the current bug behavior?
Cannot run pipeline from MR tab
What is the expected correct behavior?
Run pipeline successfully
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
core version 15.0.0
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
``