Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_enum.rb « permission_types « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f636d43790fb4f3baa05b1762414eb24ba4f958c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module Types
  module PermissionTypes
    class GroupEnum < BaseEnum
      graphql_name 'GroupPermission'
      description 'User permission on groups'

      value 'CREATE_PROJECTS', value: :create_projects, description: 'Groups where the user can create projects.'
      value 'TRANSFER_PROJECTS',
        value: :transfer_projects,
        description: 'Groups where the user can transfer projects to.'
    end
  end
end