Anonymous switching doesn't work

deviantintegral - September 4, 2009 - 21:11
Project:Masquerade
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

AttachmentSize
fix_anonymous_switches.patch3.99 KB

#1

andypost - September 6, 2009 - 01:00
Status:needs review» needs work

Anonymous should be translated

<?php
variable_get
('anonymous', t('Anonymous'))
?>

#2

deviantintegral - September 8, 2009 - 15:33
Status:needs work» needs review

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

AttachmentSize
568750_fix_anonymous_switches_2.patch 4.01 KB

#3

deviantintegral - September 10, 2009 - 20:13
Status:needs review» fixed

I've committed this patch.

#4

espirates - September 11, 2009 - 15:33

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

#5

System Message - September 25, 2009 - 15:40
Status:fixed» closed

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

#6

-Anti- - September 26, 2009 - 20:48
Version:6.x-1.2» 6.x-1.3
Status:closed» 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.

#7

-Anti- - September 26, 2009 - 20:58
Status:active» closed

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

Thanks... very useful module!

#8

espirates - September 26, 2009 - 22:50

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

#9

-Anti- - September 27, 2009 - 09:18

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

espirates - September 29, 2009 - 07:38

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

#11

deviantintegral - September 29, 2009 - 13:08

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

 
 

Drupal is a registered trademark of Dries Buytaert.