Skip to content

Add repository_size_limit permission checks

Vijay Hawoldar requested to merge vij-fix-user-validation into master

What does this MR do and why?

Add repository_size_limit permission checks in the Project/Group services to ensure only users with correct permission can update/create projects and groups with the repository_size_limit param.

Previously to this MR, this check was only done in the view

Refs https://gitlab.com/gitlab-org/gitlab/-/issues/424471

How to set up and validate locally

Reproduction steps discussed in https://gitlab.com/gitlab-org/gitlab/-/issues/424471#problem

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jason Goodman

Merge request reports

Loading