blob: dd9d94aa57831b0b641d5d60481ae3e0bb9d5c71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
module Types
module PermissionTypes
module Ci
class PipelineSchedules < BasePermissionType
graphql_name 'PipelineSchedulePermissions'
abilities :update_pipeline_schedule,
:admin_pipeline_schedule
ability_field :play_pipeline_schedule, calls_gitaly: true
ability_field :take_ownership_pipeline_schedule,
deprecated: {
reason: 'Use admin_pipeline_schedule permission to determine if the user can take ownership ' \
'of a pipeline schedule',
milestone: '15.9'
}
end
end
end
end
|