jenkinsci / jenkinsci/workflow-multibranch-plugin

Branch scanning causes outages

Open
#565 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
87
Forks
131
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

I would like to disable the ability to trigger "branch scanning" on a multibranch pipeline. i.e. revoke it from users; it's fine if admins can do it.

I can't disable branch scanning without revoking Item.Build permission.

Item.Build permission is desirable for children jobs like branches, pull requests, and tags for a multibranch pipeline job.

Users with Item.Build can start a branch scan which might have 10s of thousands of references scanning a single repo.

Maybe multibranch pipelines and organization job types need a separate Item.Build permission. Or maybe I can revoke user access HTTP access from `/build` on folder job types.

I'm not really sure of a good path forward for this.

Another idea would be a job configuration trait which propagates permissions to child jobs but does not apply to the parent job.

### Upstream changes

_No response_

### Are you interested in contributing this feature?

I'm not sure where to start for this kind of request.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.