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:
Diffstat (limited to 'app/models/ci/catalog/listing.rb')
-rw-r--r--app/models/ci/catalog/listing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/catalog/listing.rb b/app/models/ci/catalog/listing.rb
index 92464cb645f..b9e777f27a0 100644
--- a/app/models/ci/catalog/listing.rb
+++ b/app/models/ci/catalog/listing.rb
@@ -27,7 +27,7 @@ module Ci
def projects_in_namespace_visible_to_user
Project
.in_namespace(namespace.self_and_descendant_ids)
- .public_or_visible_to_user(current_user)
+ .public_or_visible_to_user(current_user, ::Gitlab::Access::DEVELOPER)
end
end
end