Commit f2405c3d authored by Robert Speicher's avatar Robert Speicher

Merge branch 'id-remove-query-limiting-whitelist' into 'master'

Remove QueryLimiting.whitelist for merge_requests#show

Closes #4793

See merge request gitlab-org/gitlab!36857
parents 12914d79 38de8527
......@@ -15,7 +15,6 @@ module EE
end
before_action :whitelist_query_limiting_ee_merge, only: [:merge]
before_action :whitelist_query_limiting_ee_show, only: [:show]
before_action :authorize_read_pipeline!, only: [:container_scanning_reports, :dependency_scanning_reports,
:license_scanning_reports,
:sast_reports, :secret_detection_reports, :dast_reports, :metrics_reports]
......@@ -126,10 +125,6 @@ module EE
def whitelist_query_limiting_ee_merge
::Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab/issues/4792')
end
def whitelist_query_limiting_ee_show
::Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab/issues/4793')
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment