summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/ci/pipeline_schedules/graphql
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-18 00:07:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-18 00:07:42 +0000
commitc8ccf45aa0aa17413b107f9bbf9d6f160eaa8779 (patch)
tree77b07d805562786cf9b218e25e0ed18fae396448 /app/assets/javascripts/ci/pipeline_schedules/graphql
parent360ee1db0bf3bba2fc7aad7f230ec80829561227 (diff)
downloadgitlab-ce-c8ccf45aa0aa17413b107f9bbf9d6f160eaa8779.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/ci/pipeline_schedules/graphql')
-rw-r--r--app/assets/javascripts/ci/pipeline_schedules/graphql/queries/get_pipeline_schedules.query.graphql6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/ci/pipeline_schedules/graphql/queries/get_pipeline_schedules.query.graphql b/app/assets/javascripts/ci/pipeline_schedules/graphql/queries/get_pipeline_schedules.query.graphql
index 9f6cb429cca..6167c7dc577 100644
--- a/app/assets/javascripts/ci/pipeline_schedules/graphql/queries/get_pipeline_schedules.query.graphql
+++ b/app/assets/javascripts/ci/pipeline_schedules/graphql/queries/get_pipeline_schedules.query.graphql
@@ -1,4 +1,8 @@
query getPipelineSchedulesQuery($projectPath: ID!, $status: PipelineScheduleStatus) {
+ currentUser {
+ id
+ username
+ }
project(fullPath: $projectPath) {
id
pipelineSchedules(status: $status) {
@@ -25,13 +29,13 @@ query getPipelineSchedulesQuery($projectPath: ID!, $status: PipelineScheduleStat
realNextRun
owner {
id
+ username
avatarUrl
name
webPath
}
userPermissions {
playPipelineSchedule
- takeOwnershipPipelineSchedule
updatePipelineSchedule
adminPipelineSchedule
}