blob: ffaf7664dae358e937b683586d734fc5670521b6 (
plain)
1
2
3
4
5
6
7
|
# frozen_string_literal: true
class NoteUserEntity < UserEntity
expose :gitlab_employee?, as: :is_gitlab_employee, if: ->(user, options) { ::Feature.enabled?(:gitlab_employee_badge) && user.gitlab_employee? }
unexpose :web_url
end
|