Skip to content

Allow 0 for gitlab pages size in project and namespace settings

What does this MR do?

Addresses #199422 (closed)

0 is already properly handled by https://gitlab.com/gitlab-org/gitlab/-/blob/272d02bf8c857c4614f652807d987c6e8a0febdb/app/services/projects/update_pages_service.rb#L139

I simply made a wrong validation initially

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Michael Kozono

Merge request reports