Make Git Abuse Settings form Vue component reusable
What does this MR do and why?
Related to https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/38+
Update GitAbuseRateLimitSettingsForm
Vue component to make it reusable. This is done by extracting the API call to update the settings and moving it to a container component. This allows us to reuse the form component to update the same settings for groups in SaaS.
How to set up and validate locally
- Make sure you have an instance-level GitLab Ultimate license
- Enable
Feature.enable(:git_abuse_rate_limit_feature_flag)
in the rails console. - Visit Admin Area -> Settings -> Reporting (e.g. http://gdk.test:3000/admin/application_settings/reporting)
- Submit the form "Git abuse rate limit" and confirm the data is saved correctly
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.
Edited by Miguel Rincon