Add repository_size_limit permission checks
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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jason Goodman