When editing a user profile you get a control labelled "Enter the users this user is able to masquerade as".

This control shows up on all sub-tabs of Edit, and it probably should show only on "Account".

In most cases "Account" is the only sub-tab, but there are cases when there are more:
1. If you add profile fields, these will show in one ore more extra sub-tabs.
2. Some modules add their own sub-tabs, for example Simplenews adds a sub-tab called "My newsletters".

CommentFileSizeAuthor
#2 account-tab.patch3.58 KBmariuss

Comments

deviantintegral’s picture

I can confirm this. It looks like we need to check the $category parameter being passed in.

mariuss’s picture

StatusFileSize
new3.58 KB

Here is a patch that does just that.

deviantintegral’s picture

Status: Active » Fixed

Thanks for the patch. I've committed it to the DRUPAL-6--1 branch.

Status: Fixed » Closed (fixed)

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

epowelljr’s picture

Issue summary: View changes

How to apply this patch. The masquerade module is not installed.
So, exactly where do you place this patch?