Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The Masquerade module currently does allow for testing site functionality for guest users by entering "Anonymous" in the masquerade block as the user to masquerade as, but it does not allow for creating "Quick Switch" links, as the module admin form complains "Anonymous does not exist. Please enter a valid username." on any attempt to do so.
Another related quirk is that masquerading as "Anonymous" is case sensitive ("anonymous" is not recognized as valid), but masquerading as an existing account is not (entering the name "tEsT uSeR" will successfully masquerade as user "Test User").
Comments
Comment #1
tiato CreditAttribution: tiato commentedIn the description it states the module does not allow quick switch for guest to anonymous. But what about quick switching from existing user to anonymous? Apologies if this has been answered.
Comment #2
Dave Sherohman CreditAttribution: Dave Sherohman commentedMy description was worded poorly. Sorry about that.
I have Masquerade configured to only allow admins to switch users at all. I can switch from admin to Anonymous for the purpose of testing how the site functions for guest users, but only by manually entering "Anonymous" into the Masquerade block.
My issue/feature request is that I have attempted to set up a "Quick Switch" link for Anonymous, so that admins can more easily masquerade as guest users, but the module's admin interface refuses to allow the creation of such a link, claiming that Anonymous is not a valid user to masquerade as.
Comment #3
jm.federico CreditAttribution: jm.federico commentedHello, just wanted to say that I was about to post the same question/request.
it is possible to masquerade as Anonymous but only by typing it on the masquerade block. Would be awesome if we could set a quick switch to it. It is my most common masquerade option.
THIS IS RIGHT NOW MY FAVOURITE MODULE! Loving it! Thanks
Comment #4
boinkster CreditAttribution: boinkster commentedI bypass the Masquerade module for this and use the Firefox extension "Steathier". With a click, it stops sending session values effectively allowing you to pose as anonymous. Another click and you're back to where you were.
Comment #5
tcarter CreditAttribution: tcarter commentedsubscribing
Comment #6
franzkewd CreditAttribution: franzkewd commented+1
Comment #7
pawel_r CreditAttribution: pawel_r commented+1
Comment #8
andypostPatches are welcome
Comment #9
deekayen CreditAttribution: deekayen commentedAnonymous masquerading is getting phased out of newer releases.