Skip to content

Adds over_storage_limit? method to EE::Namespace

Tyler Amos requested to merge 227133-storage-limit-namespace-policy into master

What does this MR do?

This MR introduces the over_storage_limit? method to the EE::Namespace model. This method will be useful for implementing the prevention policies on namespaces, issues, and projects when a namespace is over the limit.

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

Relates #227133

Merge request reports

Loading