summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/pipelines/graphql')
-rw-r--r--app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql1
-rw-r--r--app/assets/javascripts/pipelines/graphql/queries/get_user_callouts.query.graphql13
2 files changed, 1 insertions, 13 deletions
diff --git a/app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql b/app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql
index 1b3f80b1f18..de8de651eea 100644
--- a/app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql
+++ b/app/assets/javascripts/pipelines/graphql/queries/get_pipeline_header_data.query.graphql
@@ -8,6 +8,7 @@ query getPipelineHeaderData($fullPath: ID!, $iid: ID!) {
cancelable
userPermissions {
destroyPipeline
+ updatePipeline
}
detailedStatus {
detailsPath
diff --git a/app/assets/javascripts/pipelines/graphql/queries/get_user_callouts.query.graphql b/app/assets/javascripts/pipelines/graphql/queries/get_user_callouts.query.graphql
deleted file mode 100644
index 12b391e41ac..00000000000
--- a/app/assets/javascripts/pipelines/graphql/queries/get_user_callouts.query.graphql
+++ /dev/null
@@ -1,13 +0,0 @@
-query getUser {
- currentUser {
- id
- __typename
- callouts {
- __typename
- nodes {
- __typename
- featureName
- }
- }
- }
-}