Welcome to mirror list, hosted at ThFree Co, Russian Federation.

job.rb « ci « permission_types « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 35904fb1fc332ebe5fd81f376580b56dc4abecf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module PermissionTypes
    module Ci
      class Job < BasePermissionType
        graphql_name 'JobPermissions'

        abilities :read_job_artifacts, :read_build
        ability_field :update_build, calls_gitaly: true
        ability_field :cancel_build, calls_gitaly: true
      end
    end
  end
end