Allow to globally enforce repository limits

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Label this issue
  • Close this issue

Problem to solve

GitLab.com currently sets a 10 GB limit for repositories. On a local installation a similar limit cannot be enforced because groups and projects can opt out of the global limit.

Target audience

  • Sidney, Systems Administrator, https://design.gitlab.com/research/personas#persona-sidney

Further details

The admin settings are only setting up defaults and are unsuitable for actual policy enforcement. The only way I know of currently to enforce this is by editing the EE code after each update.

Proposal

Make the global limit a strict upper limit that cannot be bypassed (individual projects can still select a lower one if they wish for instance), or provide the option for users to choose between default/strict. System administrators alone can raise a project's limit above the global option.

What does success look like, and how can we measure that?

Success is if on an unmodified EE installation you can set a repository size limit that actually matters and project owners cannot bypass.

Links / references

Edited Aug 27, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading