Skip to content

Add users allow-list for issues rate limit

What does this MR do?

#214789

Adds the ability to exclude users from the rate limit that applies to issues creation requests.

Screenshots

Screen_Shot_2020-05-05_at_13.56.12

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Migration outputs

Add column issues_create_limit_users_allowlist to table application_settings (20200430112800).

UP

bin/rails db:migrate:up VERSION=20200430112800
== 20200430112800 AddIssuesCreateLimitUsersAllowlistToApplicationSettings: migrating 
-- add_column(:application_settings, :issues_create_limit_users_allowlist, :string, {:array=>true, :limit=>255, :default=>[]})
   -> 0.0023s
== 20200430112800 AddIssuesCreateLimitUsersAllowlistToApplicationSettings: migrated (0.0024s)

DOWN

bin/rails db:migrate:down VERSION=20200430112800
== 20200430112800 AddIssuesCreateLimitUsersAllowlistToApplicationSettings: reverting 
-- remove_column(:application_settings, :issues_create_limit_users_allowlist, :string, {:array=>true, :limit=>255, :default=>[]})
   -> 0.0014s
== 20200430112800 AddIssuesCreateLimitUsersAllowlistToApplicationSettings: reverted (0.0026s) 
Edited by Eugenia Grieff

Merge request reports

Loading