Restrict Autocomplete Results


Is there a way to restrict what is returned in the autocomplete fields, i.e., Owner, Simple Search, using group or queue permissions? We’d like someone who has limited permissions to only specific queues to not be able to discover email addresses from queues they do not have permissions on, for example.

We tried adding to our

$UserSearchFields, {
EmailAddress => ‘=’,
Cc.EmailAddress => ‘=’,
Name => ‘=’,
RealName => ‘=’,
Cc.RealName => ‘=’,

Set($AutocompleteFields, { Cc.EmailAddress => ‘=’, Cc.Name => ‘=’, Cc.RealName => ‘=’, });

But this appears to cause issues with setting the Requestor on create, resulting in no requestor in new tickets.