diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-10 00:08:12 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-10 00:08:12 +0000 |
commit | 9ac561230fb7a94c8f8e35163fe47fdb9829b108 (patch) | |
tree | b44d58434301914890663eee246103596f106552 /lib/api/remote_mirrors.rb | |
parent | 5aa96ff14229dba7e35f213354963febf3ad2833 (diff) | |
download | gitlab-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.rb | 3 |
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 |