diff options
Diffstat (limited to 'lib/api/helpers/members_helpers.rb')
-rw-r--r-- | lib/api/helpers/members_helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/helpers/members_helpers.rb b/lib/api/helpers/members_helpers.rb index 90f86688367..b3c79486465 100644 --- a/lib/api/helpers/members_helpers.rb +++ b/lib/api/helpers/members_helpers.rb @@ -55,7 +55,8 @@ module API end def find_all_members_for_project(project) - MembersFinder.new(project, current_user).execute(include_relations: [:inherited, :direct, :invited_groups]) + include_relations = [:inherited, :direct, :invited_groups, :shared_into_ancestors] + MembersFinder.new(project, current_user).execute(include_relations: include_relations) end def find_all_members_for_group(group) |