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

user_details_with_admin.rb « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e48b1da78590823bdd30357328218aea436fad88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module API
  module Entities
    class UserDetailsWithAdmin < UserWithAdmin
      expose :highest_role
      expose :current_sign_in_ip
      expose :last_sign_in_ip
      expose :sign_in_count
    end
  end
end

API::Entities::UserDetailsWithAdmin.prepend_if_ee('EE::API::Entities::UserDetailsWithAdmin')