Hide panel switching menu for certain users?

How can I hide the panel switching menu for certain users? In my app, some users should only have access to 1 panel, so I don't want to show that menu. I don't see anything in the docs or the source code that seems to show how to do this.
Solution:
Do you use #bezhansalleh-panel-switch ?
Jump to solution
18 Replies
awcodes
awcodes12mo ago
What is the panel switching menu?
Jon Mason
Jon MasonOP12mo ago
whatever this is called..
Solution
Thijmen
Thijmen12mo ago
Do you use #bezhansalleh-panel-switch ?
Jon Mason
Jon MasonOP12mo ago
i just saw that and was thinking about trying it out..
Thijmen
Thijmen12mo ago
Is that panel switching menu native from filament? I thought the plugin was the only option for it
Jon Mason
Jon MasonOP12mo ago
no it's native.. actually, I'm not 100% sure. I could've installed a plugin a while back and forgot about it. I need to look at that actually
Thijmen
Thijmen12mo ago
This is the plugin So i think you have the plugin installed
Jon Mason
Jon MasonOP12mo ago
you're probably right. I'm sure I just forgot I did it. lol
Thijmen
Thijmen12mo ago
Bezhan mentioned something about hiding it for users a while ago If you search in the channel you will find something probably
Jon Mason
Jon MasonOP12mo ago
i think you can, i see it in the docs..
Thijmen
Thijmen12mo ago
Yeah i see it
Jon Mason
Jon MasonOP12mo ago
and sure enough, I already had the plugin installed and I just forgot about it. lol. I'm dumb.
Thijmen
Thijmen12mo ago
Looks like you can do it role based and not user based
Jon Mason
Jon MasonOP12mo ago
that should work for me, I have everything broken out by roles.
Thijmen
Thijmen12mo ago
Great Then this is solved i guess
Jon Mason
Jon MasonOP12mo ago
indeed! thanks for clueing me in
Thijmen
Thijmen12mo ago
Np
Want results from more Discord servers?
Add your server