diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-17 11:49:52 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-18 17:15:52 +0200 |
commit | 2a9a2b22e622103b753e98cfee856c7f7dabad5f (patch) | |
tree | 4e6735bc1a5801d5f83058a84b61c52fbb37fc0d /app/finders/group_descendants_finder.rb | |
parent | 1b0156204dd624f3645100d77f0eeed7e8b8e626 (diff) | |
download | gitlab-ce-2a9a2b22e622103b753e98cfee856c7f7dabad5f.tar.gz |
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/group_descendants_finder.rb')
-rw-r--r-- | app/finders/group_descendants_finder.rb | 6 |
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 |