Skip to content
Snippets Groups Projects

Moves Protected paths throttling from Omnibus to GitLab Rails

Closed Mayra Cabrera requested to merge mc-moves-protected-path-throttle-to-gitlab-rails into master
14 files
+ 589
183
Compare changes
  • Side-by-side
  • Inline
Files
14
  • 87ed144a
    - Adds 3 columns to mimic the configuration of other throttles
    - If user does not configure protected paths on gitlab/config.yml,
    then a default array of protected paths is used
    - Add new personalized throttles for the protected paths
    - Include specs for protected paths on RackAttack global specs
    - Add fields for configuring throttle options on Admin UI
    
    WIP
@@ -259,6 +259,9 @@ def visible_attributes
:throttle_unauthenticated_enabled,
:throttle_unauthenticated_period_in_seconds,
:throttle_unauthenticated_requests_per_period,
:throttle_protected_paths_enabled,
:throttle_protected_paths_period_in_seconds,
:throttle_protected_paths_requests_per_period,
:time_tracking_limit_to_hours,
:two_factor_grace_period,
:unique_ips_limit_enabled,
Loading