forked from External/greenlight
Fix issue with search in manage users (#1792)
This commit is contained in:
parent
152c636fa3
commit
50c2070188
|
@ -36,7 +36,7 @@ module Populator
|
|||
|
||||
initial_list = initial_list.with_role(@role.name) if @role.present?
|
||||
|
||||
initial_list = initial_list.without_role(:super_admin) unless current_user.has_role? :super_admin
|
||||
initial_list = initial_list.without_role(:super_admin)
|
||||
|
||||
initial_list = initial_list.where(provider: @user_domain) if Rails.configuration.loadbalanced_configuration
|
||||
|
||||
|
|
Loading…
Reference in New Issue