-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
3ce7409
to
9c8e155
Compare
:heading, | ||
text: 'You are currently impersonating', | ||
link_text: impersonated_user.email_address, | ||
link_target: support_user_path(impersonated_user) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to do:
You are impersonating [Full Name](/support/users/USER_ID) (email@email.com)
[Stop impersonating]
?
Although thinking about it more – the name of the organisation might be useful somewhere.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yea sorry, totally forgot, will do now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated, please see screenshot
9c8e155
to
04aa663
Compare
f46d766
to
c394606
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, this looks a complicated problem.
Some observations, may be just down to my test data:
- If the user has seen the privacy notice but hasn't completed the welcome wizard you can't continue
- If you get a Forbidden error you're a bit stuck unless you use browser back button
- Top menu is still for support user, not sure what options the user should have (if any) but if you hit a forbidden action it's browser back button or support home and then you can't get to the user's landing page unless you stop impersonating and re-impersonate
- When I impersonated a user with 2 schools, it also displayed my support users responsible body on the 'Your organisations' landing page (not sure thats really a problem)
- I suspect we're a bit stuck when it comes to any multi-step processes that preserve state (e.g. welcome wizard, Daily Mail)
- Whilst impersonating actions should be readonly
- This is to workaround the specific homepage banner
c394606
to
4095936
Compare
|
Context
Changes proposed in this pull request
Screenshots
Support viewing a user to kickoff impersonation session
Impersonating a user
Guidance to review