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/graphql/types/permission_types/ci/pipeline.rb')
-rw-r--r--app/graphql/types/permission_types/ci/pipeline.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/graphql/types/permission_types/ci/pipeline.rb b/app/graphql/types/permission_types/ci/pipeline.rb
index 73e44a33eba..cfd68380005 100644
--- a/app/graphql/types/permission_types/ci/pipeline.rb
+++ b/app/graphql/types/permission_types/ci/pipeline.rb
@@ -6,7 +6,8 @@ module Types
class Pipeline < BasePermissionType
graphql_name 'PipelinePermissions'
- abilities :update_pipeline, :admin_pipeline, :destroy_pipeline
+ abilities :admin_pipeline, :destroy_pipeline
+ ability_field :update_pipeline, calls_gitaly: true
end
end
end