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:
Diffstat (limited to 'app/services/groups/group_links/destroy_service.rb')
-rw-r--r--app/services/groups/group_links/destroy_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/groups/group_links/destroy_service.rb b/app/services/groups/group_links/destroy_service.rb
index 0e7fd7e0817..4d74b5f32e2 100644
--- a/app/services/groups/group_links/destroy_service.rb
+++ b/app/services/groups/group_links/destroy_service.rb
@@ -16,6 +16,8 @@ module Groups
groups_to_refresh = links.map(&:shared_with_group)
groups_to_refresh.uniq.each do |group|
+ next if Feature.enabled?(:skip_group_share_unlink_auth_refresh, group.root_ancestor)
+
group.refresh_members_authorized_projects(blocking: false, direct_members_only: true)
end
else