eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
4 stars 25 forks source link

OSP IdP - disable & delete managed IdPs (FE) #489

Open jjeroch opened 4 months ago

jjeroch commented 4 months ago

Summary

Enable the disablement and deletion of "Managed Idps".

Managed IdPs can only get disabled/deleted by the owner (this is the respective onboarding service provider); other users can neither deactivate nor delete the IdP.

 

Details

Portal-Page: /idpmanagement

Generic Logic

image image

 

Implementation details "Disable" for managed IdP(s)

image

Figma: [https://www.figma.com/file/pcHZWXTQJUguIT75QSk9KW/Portal-Designs?type=design&node-id=8759-4683&mode=design&t=RTcvNOsuhgD98KZW-0]

Implementation details "Delete" for managed IdP(s)

image

 

 

Swagger: [https://portal-backend.dev.demo.catena-x.net/api/administration/swagger/index.html]

Endpoint: GET /api/administration/identityprovider/network/identityproviders/managed/{identityProviderId}

 

+Linked Tickets:+

CPLP-3194

CPLP-3323

lavanya-bmw commented 4 months ago

@jjeroch, the below section is not implemented as discussed.

Important special implementation logic: neither the sub-menu "delete"; nor "activate" should be available if the IdP isOwner flag is "false" - the sub-menue "Disable" is existing, but always disabled with an tooltip on hover - text value: de: "Nur IdP-Besitzer können den IdP deaktivieren" en: "Only IdP Owners can disable the IdP"