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:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-31 13:37:44 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-03-31 13:37:44 +0300
commit4726ff9dbee74d00544c7eb1ea188ecdfe16d7e8 (patch)
treece46eb404c49cf78ab69fb66f437a54b7eb2a2ce /app/services/auth
parent60cdd2bcc894cf9cce4892570bf6a146dc45e536 (diff)
Add test example for invalid registry access request
Diffstat (limited to 'app/services/auth')
-rw-r--r--app/services/auth/container_registry_authentication_service.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/services/auth/container_registry_authentication_service.rb b/app/services/auth/container_registry_authentication_service.rb
index d58ff589be1..5e151b0f044 100644
--- a/app/services/auth/container_registry_authentication_service.rb
+++ b/app/services/auth/container_registry_authentication_service.rb
@@ -64,8 +64,6 @@ module Auth
end
def process_repository_access(type, path, actions)
- # TODO, add specs for invalid paths
- #
return unless path.valid?
requested_project = path.repository_project