Skip to content

[4/5] Add unauthenticated API throttle settings to admin area

What does this MR do?

This adds the new settings to the "User and IP Rate Limits" section in the admin area, and also updates the styling a bit.

Issue: #335300 (closed)

Roadmap

  1. Rename attributes for unauthenticated rate limit: !69543 (merged)
  2. Add columns for unauthenticated API rate limit: !69384 (merged)
  3. Apply unauthenticated API rate limit in Rack Attack configuration: !69388 (merged)
  4. Update settings form in admin area: 👈 This MR
  5. Documentation update: !69487 (merged)

Screenshots or Screencasts (strongly suggested)

Besides adding the new settings, this also updates the styling a bit based on the suggestions made in the similar MR !68560 (merged):

Old style New style
image image
  • Use GitLab UI checkboxes.
  • Add fieldset around each rate limit.
  • Remove hr between sections.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #335300 (closed)

Edited by Markus Koller

Merge request reports