Skip to content

[1/5] Rename `throttle_unauthenticated_*` attributes in application settings API

What does this MR do?

In preparation for adding new rate limits for unauthenticated API requests, we add _web_ to the attributes for the current general unauthenticated rate limits in the application settings API:

  • throttle_unauthenticated(_web)_enabled
  • throttle_unauthenticated(_web)_period_in_seconds
  • throttle_unauthenticated(_web)_requests_per_period

The API is changed to accept and return both the old and new names.

We'll rename the actual DB columns in a future issue, see #340031 for details.

Also see the previous MR !69379 (closed) where we attempted to rename the columns.

Issue: #335300 (closed)

Roadmap

  1. Rename attributes for unauthenticated rate limit: 👈 This MR
  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: !69486 (merged)
  5. Documentation update: !69487 (merged)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #335300 (closed)

Edited by Markus Koller

Merge request reports