control for list of users on all sub-tabs
mariuss - September 30, 2009 - 21:52
| Project: | Masquerade |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
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".

#1
I can confirm this. It looks like we need to check the $category parameter being passed in.
#2
Here is a patch that does just that.
#3
Thanks for the patch. I've committed it to the DRUPAL-6--1 branch.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.