Manual Jobs cannot be run on protected branches where No one is allowed to merge
Description of the problem
When trying to run manual jobs on a pipeline, I'm unable to run them if the branch is protected with "No one" being allowed to Merge.
Which Group/Project (with full path) is experiencing the issue?
Approximate date/time when the error occurred.
Describe what you were doing right before the issue occurred.
While showing a new engineer our release process, I noticed that our release snapshot branches were not fully protected. I switched them to "No one" and continued the discussion. When it came to run our manual jobs I found that I could not run the manual jobs on protected branches. Changing this back to allowing "Maintainers" to merge seems to have fixed the problem.
The biggest issue (if this is a legitimate decision by the gitlab team) is that there's nothing to indicate that this is why you can't run the jobs. The UI just errors out and there's no message to say something to the effect of "You do not have permission to run this job".
I would expect either:
- A separate permission for who can run manual jobs on protected branches
- Some UI indicator to let me know that I do not have permission to run this job.