Commit 25f7a3a5 authored by Alex Kalderimis's avatar Alex Kalderimis

Revert "Add DSL authorize method"

This reverts commit 161c4948.
parent 2c4280cf
......@@ -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