diff options
Diffstat (limited to 'app/graphql/resolvers/blobs_resolver.rb')
-rw-r--r-- | app/graphql/resolvers/blobs_resolver.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/resolvers/blobs_resolver.rb b/app/graphql/resolvers/blobs_resolver.rb index 0704a845bb0..fb5fa4465f9 100644 --- a/app/graphql/resolvers/blobs_resolver.rb +++ b/app/graphql/resolvers/blobs_resolver.rb @@ -5,7 +5,7 @@ module Resolvers include Gitlab::Graphql::Authorize::AuthorizeResource type Types::Tree::BlobType.connection_type, null: true - authorize :download_code + authorize :read_code calls_gitaly! alias_method :repository, :object |