Skip to content

Draft: Integrate enforcement limit with backend and frontend

Ammar Alakkad requested to merge 385763-integrate-enforcement-limit into master

What does this MR do and why?

It implements the enforcement limit in the namespace-limits-app and shows toast message on successful requests.

Screenshots or screen recordings

Before After

How to set up and validate locally

  • In bin/rails console run:

      Feature.enable(:namespace_limits_admin_dashboard)
      ::Gitlab::CurrentSettings.update(check_namespace_plan: true)
  • Simulate saas and restart your gdk

    $ export GITLAB_SIMULATE_SAAS=1
    $ gdk restart
  • Visit /admin/namespace_limits as root

  • Update the enforcement limit input and observe the behavior

MR acceptance checklist

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

Related to #385763

Edited by Ammar Alakkad

Merge request reports

Loading