Implement endpoint to add user affiliation and shadow user

Description

Overview:
We need to implement Swagger endpoint to add association to a tenant for particular user id.

Request contract:

 

 

Response contract:

Flow diagram

What shadow user should contain:

Acceptance Criteria:

  • Create Swagger  endpoint to add affiliation

  • Write logic to save shadow user in the target tenant

  • Write logic to save new associate in user_tenant table

Environment

None

Potential Workaround

None

Attachments

6

Checklist

hide

TestRail: Results

Activity

Show:

Serhii_Nosko April 6, 2023 at 1:50 PM

Changes in PR looks good, we also tested locally and able to create shadow users in another tenant. The full testing of this story will be performed when corresponding UI story will be completed in the next sprint and when karate tests will be written(this is also separate effort and separate story created). 
Closing this ticket as Done.

Adesh Singh April 6, 2023 at 1:43 PM

Tested in local..

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Thunderjet

Fix versions

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 6, 2023 at 8:21 AM
Updated July 31, 2023 at 12:29 PM
Resolved April 6, 2023 at 1:50 PM
TestRail: Cases
TestRail: Runs