2022-09-12 15:14:03 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
module BranchProtections
|
|
|
|
class MergeAccessLevelType < BaseAccessLevelType # rubocop:disable Graphql/AuthorizeTypes
|
|
|
|
graphql_name 'MergeAccessLevel'
|
2022-10-21 15:11:29 +00:00
|
|
|
description 'Defines which user roles, users, or groups can merge into a protected branch.'
|
2022-09-12 15:14:03 +00:00
|
|
|
accepts ::ProtectedBranch::MergeAccessLevel
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|