Commit 0f600368 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch '10io-update-maven-finder' into 'master'

Update the maven package finder

See merge request gitlab-org/gitlab!56346
parents 3f2c4621 e226c169
......@@ -59,8 +59,7 @@ module Packages
# Returns the projects that the current user can view within a group.
def projects_visible_to_current_user
::Project
.in_namespace(group.self_and_descendants.select(:id))
group.all_projects
.public_or_visible_to_user(current_user)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment