summaryrefslogtreecommitdiff
path: root/lib/api/remote_mirrors.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:08:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-10 00:08:12 +0000
commit9ac561230fb7a94c8f8e35163fe47fdb9829b108 (patch)
treeb44d58434301914890663eee246103596f106552 /lib/api/remote_mirrors.rb
parent5aa96ff14229dba7e35f213354963febf3ad2833 (diff)
downloadgitlab-ce-9ac561230fb7a94c8f8e35163fe47fdb9829b108.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/api/remote_mirrors.rb')
-rw-r--r--lib/api/remote_mirrors.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/api/remote_mirrors.rb b/lib/api/remote_mirrors.rb
index cb8383ff08a..7e484eb8885 100644
--- a/lib/api/remote_mirrors.rb
+++ b/lib/api/remote_mirrors.rb
@@ -5,9 +5,6 @@ module API
include PaginationParams
before do
- # TODO: Remove flag: https://gitlab.com/gitlab-org/gitlab/issues/38121
- not_found! unless Feature.enabled?(:remote_mirrors_api, user_project)
-
unauthorized! unless can?(current_user, :admin_remote_mirror, user_project)
end