Directories: lookup users on another instance

Description

Given I have a Wazo Platform A and B
Given I have user UA on instance A and user UB on instance B

Given I setup on instance A a contact source of type Wazo to instance B
When user UA searches for user UB
Then user UA does not find any results

Expected: user UB appears in the search results

Technical details:

  • when wazo-confd B receives the request, there is a header Wazo-Tenant: tenantA. Since wazo-confd B only knows tenantB, it rejects the request with 401 Unauthorized tenant.

  • Please see Zendesk Support tab for further comments and attachments.

Zendesk Ticket IDs

2575,3327

Activity

Show:

Pascal Cadotte July 16, 2021 at 1:48 PM

There are 2 use cases for the wazo user plugin in wazo dird.

Searching local users. This is the default configuration. It uses a service id / service key that is shared by all tenants of a given stack. When the source loads it’s wazo-confd-client it uses the tenant_uuid of the source and sets it on the confd-client to limit the returned results to that tenant. This is fine because it enforces tenant segregation.

Searching remote users. This is the problematic case. In this scenario the administrator will create an API user IN THE REQUIRED TENANT of the remote stack. Then when the plugin is loaded it should create the confd-client BUT the tenant uuid of the source should not be set on the confd client. That’s because the local tenant does not match the remote tenant, which is normal.

Ben Boyle July 14, 2021 at 8:49 PM

Do I need some kind of permission to view Zendesk tickets?

Done

Details

Priority

Assignee

Reporter

Approvers

François Blackburn

Pair

Pascal Cadotte

Fix versions

Sprint

Zendesk Ticket Count

2

Zendesk Support

2

Created March 5, 2021 at 5:03 PM
Updated March 28, 2025 at 3:34 PM
Resolved July 23, 2021 at 5:08 PM

Flag notifications