Skip to content

Add protected branch policy

James Edwards-Jones requested to merge jej/add-protected-branch-policy into master

What

Adds ProtectedBranchPolicy and uses it from both the API and the Controller.

Why

This will be used in EE where we want per rule control over who can update/destroy a protected branch rule.

Does this MR meet the acceptance criteria?

Related

First part of https://gitlab.com/gitlab-org/gitlab-ee/issues/4800

Edited by James Edwards-Jones

Merge request reports