Skip to content

Preloads values to namespace limits admin controls

What does this MR do and why?

Prefills app namespace limits admin controls with current Backend-fetched values.

Implements #413238

Screenshots or screen recordings

Before After After (error state)
image image image

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
  • Go to Namespace Limits admin controls page, e.g. http://localhost:3000/admin/namespace_limits

  • Try to update some limits and then reload the page. The updated values should persist.

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 Ammar Alakkad

Merge request reports