diff options
Diffstat (limited to 'app/graphql/types/terraform/state_version_type.rb')
-rw-r--r-- | app/graphql/types/terraform/state_version_type.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/graphql/types/terraform/state_version_type.rb b/app/graphql/types/terraform/state_version_type.rb index 545b3c0044d..bf1af4565bc 100644 --- a/app/graphql/types/terraform/state_version_type.rb +++ b/app/graphql/types/terraform/state_version_type.rb @@ -15,7 +15,7 @@ module Types field :created_by_user, Types::UserType, null: true, - description: 'The user that created this version.' + description: 'User that created this version.' field :download_path, GraphQL::Types::String, null: true, @@ -23,7 +23,8 @@ module Types field :job, Types::Ci::JobType, null: true, - description: 'The job that created this version.' + description: 'Job that created this version.', + authorize: :read_commit_status field :serial, GraphQL::Types::Int, null: true, |