diff options
Diffstat (limited to 'app/services/clusters/management/validate_management_project_permissions_service.rb')
-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 |