diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-05-16 20:29:21 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-05-16 20:29:21 +0000 |
commit | 60b14e52963238bb2401004350d963eda1fabef6 (patch) | |
tree | 4245a49a274608cae18039d87984570bad313e1f /lib/api/v3 | |
parent | bd0a12be77840ca49cdd296e4a6d701df99024b4 (diff) | |
parent | 2060533f91b5527b568321f63a1aa7f4ef0081d5 (diff) | |
download | gitlab-ce-60b14e52963238bb2401004350d963eda1fabef6.tar.gz |
Merge branch 'jprovazn-remote-upload-destroy' into 'master'
Delete remote uploads
Closes #45425
See merge request gitlab-org/gitlab-ce!18698
Diffstat (limited to 'lib/api/v3')
-rw-r--r-- | lib/api/v3/groups.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/v3/groups.rb b/lib/api/v3/groups.rb index 2c52d21fa1c..3844fd4810d 100644 --- a/lib/api/v3/groups.rb +++ b/lib/api/v3/groups.rb @@ -131,6 +131,7 @@ module API delete ":id" do group = find_group!(params[:id]) authorize! :admin_group, group + Gitlab::QueryLimiting.whitelist('https://gitlab.com/gitlab-org/gitlab-ce/issues/46285') present ::Groups::DestroyService.new(group, current_user).execute, with: Entities::GroupDetail, current_user: current_user end |