Fix impersonation button availability in admin area
What does this MR do and why?
Fix impersonation button availability in admin area
Previously, the impersonation button on the user page was only enabled on the overview (Account tab) and disabled on the other pages.
Now the button works on all pages when the user can be impersonated
Screenshots or screen recordings
No changes to UI. Only fixes disable/enable state of a button
How to set up and validate locally
Check all tabs of a user in the admin area and verify that the Impersonate button is enabled on all of them if the user can be impersonated
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.