Posted by deviantintegral on September 4, 2009 at 9:11pm
| Project: | Masquerade |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| fix_anonymous_switches.patch | 3.99 KB |
Comments
#1
Anonymous should be translated
<?phpvariable_get('anonymous', t('Anonymous'))
?>
#2
Good catch. Here's an updated patch which all of the defaults translated.
#3
I've committed this patch.
#4
Anonymous switching doesn't appear to be working in 6.x-1.3, should I apply this patch ?
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
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.
#7
OK, found it... type 'Anonymous' into the search field in the masquerade block.
Thanks... very useful module!
#8
I tried this but it results in error msg Anonymous user does not exist
#9
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.
#10
ah ok, forgot I changed anonymous to Guest, its working. How to switch back to admin ?
#11
Just click the "Switch back" link in the Masquerade block.