diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-20 15:07:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-20 15:07:25 +0300 |
commit | 07b1e2691206717206d40f9c7f0abfd1a30ecbdd (patch) | |
tree | a5b6b9655d73f158c22ecc70bcb65535226fd4ac /app/services/clusters | |
parent | 65a0673d76bb86d6acca6dc3ab42dc91a04f56c2 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/clusters')
-rw-r--r-- | app/services/clusters/management/validate_management_project_permissions_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/clusters/management/validate_management_project_permissions_service.rb b/app/services/clusters/management/validate_management_project_permissions_service.rb index e89a0afe6d2..e407c159bc7 100644 --- a/app/services/clusters/management/validate_management_project_permissions_service.rb +++ b/app/services/clusters/management/validate_management_project_permissions_service.rb @@ -46,7 +46,7 @@ module Clusters ::GroupProjectsFinder.new( group: group, current_user: current_user, - options: { only_owned: true, include_subgroups: include_subgroups } + options: { exclude_shared: true, include_subgroups: include_subgroups } ).execute end end |