summaryrefslogtreecommitdiff
path: root/app/graphql/types/branch_protections/push_access_level_type.rb
blob: c5e21fad88db75e73889699dc0a4a3431c2ae63f (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Types
  module BranchProtections
    class PushAccessLevelType < BaseAccessLevelType # rubocop:disable Graphql/AuthorizeTypes
      graphql_name 'PushAccessLevel'
      description 'Defines which user roles, users, or groups can push to a protected branch.'
      accepts ::ProtectedBranch::PushAccessLevel
    end
  end
end