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:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-04-17 12:49:52 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-04-18 18:15:52 +0300
commit2a9a2b22e622103b753e98cfee856c7f7dabad5f (patch)
tree4e6735bc1a5801d5f83058a84b61c52fbb37fc0d /app/finders
parent1b0156204dd624f3645100d77f0eeed7e8b8e626 (diff)
Revert "Don't include projects shared as group-descendants"
This reverts commit 2c3c5b35549185080296670cfe6710aa80f99944. Revisit this after https://gitlab.com/gitlab-org/gitlab-ce/issues/45441
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/group_descendants_finder.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/finders/group_descendants_finder.rb b/app/finders/group_descendants_finder.rb
index e72fd8eb3a5..051ea108e06 100644
--- a/app/finders/group_descendants_finder.rb
+++ b/app/finders/group_descendants_finder.rb
@@ -134,10 +134,8 @@ class GroupDescendantsFinder
end
def direct_child_projects
- GroupProjectsFinder.new(group: parent_group,
- current_user: current_user,
- options: { only_owned: true },
- params: params).execute
+ GroupProjectsFinder.new(group: parent_group, current_user: current_user, params: params)
+ .execute
end
# Finds all projects nested under `parent_group` or any of its descendant