With administration menu and devel installed I get the great switch user menu. I plan to have a site with thousands of users. Can I filter which users show up in that menu?

CommentFileSizeAuthor
#8 admin menu user.JPG27.81 KBDharmendra.s

Comments

moshe weitzman’s picture

Project: Devel » Administration menu
Version: 6.x-1.9 » 6.x-3.x-dev
Component: devel » Code

you'd have to ask admin_menu. we do not expose any usernames except in a block which is not used by admin menu AFAIK

sun’s picture

Title: Devel Switch user and admin menu » Add autocomplete widget to switch to a certain user
Category: support » feature

admin_menu uses the same user list that Devel uses for its block. Those users are ordered by whether a user is able to switch, followed by any other users.

However, I always wanted to expand this integration by exposing an autocomplete widget (the first real widget) that allows you to search and switch to a certain user.

Hence, better title.

agerson’s picture

What controls if a user "is able to switch"? Don't see it as a permissions.

agerson’s picture

Ahh, its a devel permissions, but doesn't that permission control who can switch users, not who shows up in the list?

sun’s picture

Users in the switch user list are ordered by that permission first, yes. As of now, I don't think you can affect who shows up in that list. Anyway, an autocomplete widget is the only solution for your "thousands of users".

agerson’s picture

Ok, that would be a great feature.

sun’s picture

Version: 6.x-3.x-dev » 7.x-3.x-dev
Dharmendra.s’s picture

StatusFileSize
new27.81 KB

i am confused which user are showing,,,, suppose my admin menu users shows 2/3 users then
3:: it is annonymous registered user and my roles user just like administrator etc,
2:: but there is which type of users,,,plese consult me i am confused ..
this module works properly or need to apply some patch

For more info please see screenshot

truls1502’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)
Issue tags: +postponed2w

I am sorry for no reply until now.

There are many issues regarding this module admin_menu which is a bit difficult for us to follow up since some of the issues might be already outdated, or is already fixed by the module or any other modules or itself core which means that the problem might no longer need to be fixed.

We can see that the issue has been created for a few years ago, I hope it is okay for you that I am postponing the issue, and give you around two weeks. If you still face the problem, could you tell us the step by step when until you get the error message or what is frustrated you, and a list of modules you are using related to admin_menu and a screenshot that might help us? So it makes us easier to reproduce your issue.

However, after two weeks with no feedback - we will close this issue. So in case, you noticed it after the issue is closed, do not hesitate to reopen it like and fill information which is mentioned above.

So before giving us a feedback, do you mind to test it again with our latest 7.x-3.x-dev?

Thank you for understanding! :)

truls1502’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: -postponed2w

This issue has been automatically marked as closed because it has not had recent activity after the last post.

However, if you or someone is still facing the same issue as described to the issue, could you please to re-open the issue by changing the status of the issue, and add an explanation with more details which can help us to reproduce your situation.

Again, thank you for your contributions! :)