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

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

module Types
  class UserStateEnum < BaseEnum
    graphql_name 'UserState'
    description 'Possible states of a user'

    value 'active', 'User is active and can use the system.', value: 'active'
    value 'blocked', 'User has been blocked by an administrator and cannot use the system.', value: 'blocked'
    value 'deactivated', 'User is no longer active and cannot use the system.', value: 'deactivated'
    value 'banned', 'User is blocked, and their contributions are hidden.', value: 'banned'
    value 'ldap_blocked', 'User has been blocked by the system.', value: 'ldap_blocked'
    value 'blocked_pending_approval', 'User is blocked and pending approval.', value: 'blocked_pending_approval'
  end
end