Impersonate button sends you to "page you requested doesn't exist..."

If you impersonate a regular user, that is someone without access to admin/users, you’re dropped on the “the page you requested doesn’t exist or…” page. Which makes sense, as you no longer have access to that page (impersonate reloads admin/user/impersonated_user), but it looks like something went wrong when it happens.

Suggest as new landing page: impersonated user’s profile or the forum home page.

Minor issue due to most users not being admins and impersonate being (presumably/hopefully) an infrequently used function, just wanted to mention.

5 Likes

Just pushed a fix :fries:

https://github.com/discourse/discourse/commit/753f4d1b7b957609db702d94a30119c07c1b101b

4 Likes

This topic was automatically closed after 2 hours. New replies are no longer allowed.