Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-05-11 15:45:18 +0300
committerJan Provaznik <jprovaznik@gitlab.com>2018-05-16 09:58:07 +0300
commit2060533f91b5527b568321f63a1aa7f4ef0081d5 (patch)
tree31712ab032c6b3e57a49b7be2dfe2fcc97713f1e /lib/api/groups.rb
parent8c0166f2b96e233cbf8ec84e4314094521dc0316 (diff)
Whitelisted query limits for group destroy API
Diffstat (limited to 'lib/api/groups.rb')
-rw-r--r--lib/api/groups.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb
index 92e3d5cc10a..0d125cd7831 100644
--- a/lib/api/groups.rb
+++ b/lib/api/groups.rb
@@ -165,6 +165,7 @@ module API
group = find_group!(params[:id])
authorize! :admin_group, group
+ Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-ce/issues/46285')
destroy_conditionally!(group) do |group|
::Groups::DestroyService.new(group, current_user).execute
end