Draft: Integrate enforcement limit with backend and frontend
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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #385763
Edited by Ammar Alakkad