Commit 2cb0a0b8 authored by charlie ablett's avatar charlie ablett

Merge branch 'revert-161c4948-add-job-authorization' into 'master'

Revert "Add DSL authorize method"

See merge request gitlab-org/gitlab!50200
parents f0a70e7e 25f7a3a5
......@@ -5,7 +5,6 @@ module Types
# rubocop: disable Graphql/AuthorizeTypes
class JobType < BaseObject
graphql_name 'CiJob'
authorize :read_build
field :pipeline, Types::Ci::PipelineType, null: true,
description: 'Pipeline the job belongs to'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment