Limit viewable users when inviting members to a project

Proposal

This request came up when dealing with a ticket where a user had concerns on the users being displayed while attempting to invite a member to a project.

When inviting a user to a project, the user is able to somewhat enumerate users in the instance because of the autocomplete feature.

Upon the checking the request from the logs, the request being made is /api/v4/users.json?search=<text entered>&per_page=20&without_project_bots=true&active=true

There is an almost similar request for groups: #257904 (closed)

Team members can view the ticket through the below link:

Zendesk Ticket - internal only

Edited by Christopher Mutua