Skip to content

Reject Adding Commits and Merging MRs when Namespace is Over Seat Limit

What does this MR do and why?

Reject adding commits and merging MRs when the namespace is over its seat limit.

When block seat overages is enabled and the namespace is over the number of seats in its subscription, it becomes read-only. Reject git push operations, adding commits via Web IDE, and merging MRs when the namespace is read-only for this reason.

Block seat overages work is behind a feature flag.

This MR follows the pattern established in Add generic read only check for namespace to gi... (!102429 - merged).

Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/444892

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jason Goodman

Merge request reports