eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
4 stars 25 forks source link

Missing Delete Option for newly created "Managed IdPs" #757

Open jjeroch opened 2 months ago

jjeroch commented 2 months ago

Detected in version 2.0.0

Issue Description: When attempting to delete newly created "managed" IDPs, the action function is missing, preventing the deletion process from being completed successfully.

image



Steps to Reproduce:

  1. Create a new "managed" IDP in the system.
  2. Navigate to the IDP management section.
  3. Locate the newly created IDP that needs to be deleted.
  4. Click on the delete button or select the delete option from the context menu.

Expected Result: The system should display the Action "Delete" and execute the deletion process for the selected "managed" IDP if selected by the user.

Actual Result: The Action "Delete" is not available.

Additional Information:

jjeroch commented 2 months ago

@lavanya-bmw in case you want to run through some live checks, please contact Danai

lavanya-bmw commented 1 month ago

@jjeroch As per https://github.com/eclipse-tractusx/portal-frontend/issues/489, "Delete" is only available and possible if the IdP is in a disabled state. PFA where idp71 is disabled and 'delete' is available image

lavanya-bmw commented 1 month ago

@jjeroch As discussed, added delete option for newly created "Managed IdPs" when managed Idp has below values: clientId is null and hasClientSecret is false.