diff options
Diffstat (limited to 'app/finders/fork_targets_finder.rb')
-rw-r--r-- | app/finders/fork_targets_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/fork_targets_finder.rb b/app/finders/fork_targets_finder.rb index c1769ea28f9..a96acd5838e 100644 --- a/app/finders/fork_targets_finder.rb +++ b/app/finders/fork_targets_finder.rb @@ -24,7 +24,7 @@ class ForkTargetsFinder def fork_targets(options) if options[:only_groups] - user.manageable_groups(include_groups_with_developer_maintainer_access: true) + Groups::AcceptingProjectCreationsFinder.new(user).execute # rubocop: disable CodeReuse/Finder else user.forkable_namespaces.sort_by_type end |