Closed (fixed)
Project:
Masquerade
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2009 at 21:11 UTC
Updated:
29 Sep 2009 at 13:08 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 568750_fix_anonymous_switches_2.patch | 4.01 KB | deviantintegral |
| fix_anonymous_switches.patch | 3.99 KB | deviantintegral |
Comments
Comment #1
andypostAnonymous should be translated
variable_get('anonymous', t('Anonymous'))Comment #2
deviantintegral commentedGood catch. Here's an updated patch which all of the defaults translated.
Comment #3
deviantintegral commentedI've committed this patch.
Comment #4
espirates commentedAnonymous switching doesn't appear to be working in 6.x-1.3, should I apply this patch ?
Comment #6
-Anti- commentedApologies 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.
Comment #7
-Anti- commentedOK, found it... type 'Anonymous' into the search field in the masquerade block.
Thanks... very useful module!
Comment #8
espirates commentedI tried this but it results in error msg Anonymous user does not exist
Comment #9
-Anti- commentedUse 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.
Comment #10
espirates commentedah ok, forgot I changed anonymous to Guest, its working. How to switch back to admin ?
Comment #11
deviantintegral commentedJust click the "Switch back" link in the Masquerade block.