[UI] Improve Portal Disconnect UX
General
Escalation
General
Escalation
Description
How to test
This is the FE subtask of PMM-11182
users logged in with admin-admin credentials should see "Force Disconnect"
users logged in with Percona accounts should see the usual "Disconnect"
How to document
None
Activity
Show:
Done
Details
Details
Assignee
Unassigned
UnassignedReporter
Taras Kozub
Taras KozubPriority
Needs QA
Yes
Needs Doc
No
Fix versions
Story Points
1
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created December 8, 2022 at 11:32 AM
Updated March 6, 2024 at 12:18 AM
Resolved February 27, 2023 at 1:13 PM
Use the UserStatus API to show different text for the disconnect button:
users logged in with admin-admin credentials should see something like "Force Disconnect"
users logged in with Percona accounts should see the usual "Disconnect"
Force Disconnect should now return a 200 OK upon successfull completion instead of 400, the UI should change the code accordingly and expect a 200 ok in case of successful force disconnect.
Contact @Palash Nigam for any clarifications regarding this change.