I've been using Masquerade for a while and it works brilliantly. However, just recently I found that when I Masquerade (while logged in as admin), I loose the menu option to "switch back" to admin. If I go that url manually I am told I don't have authorisation/access.
It seems that I am suddenly switching users for good, and Masquerade forgets that I am actually admin. When I did a database backup from a week or so ago, it worked fine, so the problem must be in the database somewhere.
The other non-core modules I'm using are devel. I tried uninstalling (manually removing the tables) and reinstalling Masquerade - to no avail.
Comments
Comment #1
geodaniel commentedI've also noticed this in the 4.7 version - once I've masqueraded, I can't get back to my own account without logging out and back in again as me.
Comment #2
geodaniel commentedOh, perhaps this only happens when using the quickswitch functionality. I've just successfully masqueraded as a user by going to masquerade/switch/[uid] and then had the option to get back into my account.
Comment #3
patrickharris commentedUsing masquerade/switch/[uid] I still have the same problem. I can masquerade as the user successfully, but there is no option in the menu to switch back. Even if I try to masquerade as admin I get an access denied.
Comment #4
Gurpartap Singh commentedIt's hopefully fixed and was unable to reproduce with improvements in code. And removed dedicated quickswitch menu item and function. Rather now it links to
?q=masquerade/switch/[uid]. For anyone curious about it, please get the code from DRUPAL-5 branch in cvs.Comment #5
(not verified) commented