When masquerade as another user (user B) i'm not able to switch back to previous user(user A) with the link "/unmasquerade" and i am denied access. Should the user B have any permission so that i'm able to switch back ? The user B does not have permission to view or access the toolbar.

Comments

UNarain created an issue. See original summary.

smogonmon’s picture

Is this currently being worked on? I am having the same problem. The link for Unmasquerade doesn't appear when masquerading as other users, and going to the /unmasquerade url causes the message: "You are not authorized to access this page."

kclarkson’s picture

I am not seeing the link to Masquerade as a user or role. The only link I am seeing is unmasqureade block and its giving me the permissions denied link.

malaynayak’s picture

Hi @unarain

Please check the menu link admin/structure/menu/link/masquerade.unmasquerade/edit is enabled.

Thanks

malaynayak’s picture

Status: Active » Needs review
Greenstack’s picture

The link is enabled on our site, but it doesn't work without commenting out the _csrf_token: 'TRUE' line in masquerade.routing.yml.

andypost’s picture

Version: 8.x-2.0-beta2 » 8.x-2.x-dev
Priority: Normal » Major
Issue tags: +Needs issue summary update
Related issues: +#2679088: Redirect after unmasquerade broken

Closed as duplicate #2942447: How do you unmasquerade? and #3017132: How to redirect after Masquerade

Surely it needs update summary to solve UX issue with unmasquerade when no toolbar used

andypost’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#2962970: Provide a foolproof way to unmasquerade

Closing this one as duplicate of early #2962970: Provide a foolproof way to unmasquerade

prerit_mohan_bhatnagar’s picture

is this resolved?

bardiuk’s picture

Use Multi-account container addon in your browser and forget this module.

OCTOGONE.dev’s picture

Hi,
same problem, even after clearing the cache of the browser i still had that problem.
I resolved this by clearing the "cockies and data site" in Firefox.

Looks messy....