Commit 38de8527 authored by Igor Drozdov's avatar Igor Drozdov

Remove QueryLimiting.whitelist for merge_requests#show

parent 61a23c2e
...@@ -15,7 +15,6 @@ module EE ...@@ -15,7 +15,6 @@ module EE
end end
before_action :whitelist_query_limiting_ee_merge, only: [:merge] 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, before_action :authorize_read_pipeline!, only: [:container_scanning_reports, :dependency_scanning_reports,
:license_scanning_reports, :license_scanning_reports,
:sast_reports, :secret_detection_reports, :dast_reports, :metrics_reports] :sast_reports, :secret_detection_reports, :dast_reports, :metrics_reports]
...@@ -126,10 +125,6 @@ module EE ...@@ -126,10 +125,6 @@ module EE
def whitelist_query_limiting_ee_merge def whitelist_query_limiting_ee_merge
::Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab/issues/4792') ::Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab/issues/4792')
end end
def whitelist_query_limiting_ee_show
::Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab/issues/4793')
end
end end
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