2020-01-26 13:08:47 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class UserDetailsWithAdmin < UserWithAdmin
|
|
|
|
expose :highest_role
|
|
|
|
expose :current_sign_in_ip
|
|
|
|
expose :last_sign_in_ip
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2020-03-12 08:09:17 -04:00
|
|
|
|
|
|
|
API::Entities::UserDetailsWithAdmin.prepend_if_ee('EE::API::Entities::UserDetailsWithAdmin')
|