The change is now stable and I can still reproduce that. Are there any plans to improve the experience for admins after the impersonation expires?
I think a better indication that you are no longer impersonating the user would help to prevent false negative testing where the admin thinks something works for normal users while in fact they are using their admin privileges.
Also, it’s confusing when the button to stop impersonating doesn’t work.
Example screenshot where it seems the user is able to see the staff (Team) category and showing the error using the stop impersonating button.
I’m not sure, I just wonder how we would define inactivity, if there’s already a way to know this? Also I’m not sure of the original intent of the timer, was it to make sure admins weren’t staying logged in too long generally to other people’s accounts? Would having the timer be delayed indefinitely go against that? Not sure…
If we can figure that out then of course I’m happy to hand this off to you if you’re happy to make a PR