eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
4 stars 25 forks source link

Technical User Creation - API Response #788

Closed jjeroch closed 1 month ago

jjeroch commented 1 month ago

Description: The backend response of POST /api/administration/serviceaccount/owncompany/serviceaccounts will change to an array. The frontend needs to be prepared to handle multiple service account responses. The overlay where the tech user is displayed needs to be enhanced to display multiple technical users if they are included in the response.

Tasks:

  1. Update the frontend API request for POST /api/administration/serviceaccount/owncompany/serviceaccounts to handle the new backend response as an array.
  2. Review the existing overlay component where the tech user is displayed.
  3. Update the overlay to display multiple technical users if they are included in the backend response.
  4. Ensure that the frontend can handle the new backend response correctly and update the user interface accordingly.

Acceptance Criteria:


Impacted Function: Page: /technicaluser

nidhigarg-bmw commented 1 month ago

@jjeroch Made the changes and now getting always one user in POST API response image If gets multiple users, then again same thing will get repeat. Please see attached for an idea image Does this make sense ?

jjeroch commented 1 month ago

yes that makes sense. Thanks. I take this solution :)