eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
5 stars 32 forks source link

Company Subscription Details | User Details Blank | Wrong Hyperlink and Role Requirement #1219

Open typecastcloud opened 5 days ago

typecastcloud commented 5 days ago

Current Behavior

Opening hyperlink in page companySubscriptionsDetail is trying to open UserDetails with the id of a technical user. Link is clickable with "view_user_account" role.

Opened page is blank.

Expected Behavior

Hyperlink is linking to techUserDetails and can only be clicked with "view_tech_user_management" role.

Steps To Reproduce

  1. Open companySubscriptionsDetail for an existing app with technical user.
  2. Click Scroll down to technical user
  3. Click on hyperlink
typecastcloud commented 5 days ago

Test Cases

Test Case 1: Access Technical User Details - Company Admin

Description: Verify that Company Admin can open techUserDetails page when using hyperlink

Expected Result:

Test Case 2: Disabled Hyperlink - Business Admin

Description: Verify that Business Admin has hyperlink disabled

Expected Result: