Page MenuHomePhabricator

Allow push policies to be set by branch
Closed, ResolvedPublic

Description

It would be great to be able to set push permissions on a branch-by-branch basis in Diffusion.

Use case: An organization practices continuous deployment off of the 'production' branch. Only the release leads are allowed to push to that branch (and they usually do so after merging in commits from another branch) but all of the developers are allowed to push to the 'master' development branch.

I believe this has come up as a question before, but it was asked on Ponder (which is now not visible).

Event Timeline

epkugelmass raised the priority of this task from to Needs Triage.
epkugelmass updated the task description. (Show Details)
epkugelmass added a project: Diffusion.
epkugelmass added a subscriber: epkugelmass.

You can do this with Herald. Here's an example which prevents anyone but me from pushing to "master" across several repositories:

Screen_Shot_2015-04-01_at_12.53.35_PM.png (1×1 px, 142 KB)

epkugelmass claimed this task.

Thanks!