# collab: Route \`get_users_by_ids\` through Cloud \(\#56105\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4b23564f36230c88549ec7aa7ca369eec797b997)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4b23564f36230c88549ec7aa7ca369eec797b997

Requested commit: 4b23564f36230c88549ec7aa7ca369eec797b997

Commit: 4b23564f36230c88549ec7aa7ca369eec797b997

Tree: 55ff20b217434139bc6319dc0f3156d418041425

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Route `get_users_by_ids` through Cloud (#56105)

This PR makes it so we route the `UserService::get_users_by_ids` call
through Cloud instead of hitting the database.

We've introduced a new `CloudUserService` that will fetch the users from
Cloud using the internal API. Note that we've only implemented the
`get_users_by_ids` method on this service, as the endpoints for the
other methods don't yet exist.

We have also introduced a `TransitionalUserService` for the purposes of
gradually transitioning these calls over to Cloud. Right now it uses the
`CloudUserService` for the `get_users_by_ids` implementation, but then
uses the `DatabaseUserService` for the other methods.

Closes CLO-740.

Release Notes:

- N/A
```

## Parents

- [6bc4b4b7e444d8a0379caecbf629aab50bb20ce2](https://git.cafe/gitcafe/zed/commit/6bc4b4b7e444d8a0379caecbf629aab50bb20ce2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4b23564f36230c88549ec7aa7ca369eec797b997?format=markdown)
