It looks like this feature was only half-baked. Here's a patch which allows users to switch to the anonymous user using the text field. Menu links and block links are currently untested.

Comments

andypost’s picture

Status: Needs review » Needs work

Anonymous should be translated variable_get('anonymous', t('Anonymous'))

deviantintegral’s picture

Status: Needs work » Needs review
StatusFileSize
new4.01 KB

Good catch. Here's an updated patch which all of the defaults translated.

deviantintegral’s picture

Status: Needs review » Fixed

I've committed this patch.

espirates’s picture

Anonymous switching doesn't appear to be working in 6.x-1.3, should I apply this patch ?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

-Anti-’s picture

Version: 6.x-1.2 » 6.x-1.3
Status: Closed (fixed) » Active

Apologies for opening this again... how do I switch to anon user?
I can't see how to do it, and there appears to be no documentation for this module.
Typing 'Anonymous' doesn't work, and I can't think what else to try.

Thanks.

-Anti-’s picture

Status: Active » Closed (fixed)

OK, found it... type 'Anonymous' into the search field in the masquerade block.

Thanks... very useful module!

espirates’s picture

I tried this but it results in error msg Anonymous user does not exist

-Anti-’s picture

Use the exact text that you used for 'anonymous' on the admin -> site information page.

For instance, if you used 'Guest', when you type the captial 'G', the Masquerade block
dropdown menu should autofill with all users starting with 'G', and you should see 'Guest'
listed. Note that it is case-sensitive, so capital letters matter.

When doing this, I am logged in as superadmin.
In other words, I have not set Masquerade permissions for any other roles,
and have not tested that it works with any other role except superadmin.

espirates’s picture

ah ok, forgot I changed anonymous to Guest, its working. How to switch back to admin ?

deviantintegral’s picture

Just click the "Switch back" link in the Masquerade block.