# Group specific tool bar

**URL:** https://meta.discourse.org/t/group-specific-tool-bar/214327
**Category:** Theme component
**Created:** [January 10, 2022, 2:02am UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327 "2022-01-10T02:02:09Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [January 10, 2022, 2:02am UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/1 "2022-01-10T02:02:09Z")

</div>

Provide different toolbars for 2 specific group sets, 1 for users who are not in specific group sets,1 for non-logged-in users.

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/6/96cbc2b6e4e3b37ec6c9431d8f54b657f071776b.png)

A fork of [Custom Admin Toolbox](https://meta.discourse.org/t/custom-admin-toolbox/204871)

Primarily I made this because I want to set a quick toolbar for users in different groups to indicate that whether they are granted higher-level access to the community or not. Also, I found some settings are too deep in the menu for discourse beginners so I put those also in the toolbar.

And for my convenience to check the admin panel, update site settings, etc.

| | | |
| --- | --- | --- |
| 🛠 | **Repository** | [discourse-group-specific-tool-bar](https://github.com/notedboi/discourse-group-specific-tool-bar) |
| ❓ | **Install Guide** | [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682) |
| 📖 | **New to Discourse Themes?** | [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) |

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 11, 2022, 6:11pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/2 "2022-01-11T18:11:36Z")

</div>

Does this use User’s Primary Group? As some users maybe part of several groups.

And can you post a couple of ss of plugin in action?

---

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [January 11, 2022, 8:17pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/3 "2022-01-11T20:17:01Z")

</div>

No, it will check all groups the user has access to, for example, if you include group A and B in group set 1, users in A or B will see links you set for group set 1.

what is a ss?

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 11, 2022, 8:21pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/4 "2022-01-11T20:21:10Z")

</div>

Screenshot.

So it will blend toolbars?

For Example group A gets Toobar A

Group B gets Toolbar B

Some members of Group A are also in Group B these ppl would get a mix of the 2 toolbars or just see one of them?

---

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [January 11, 2022, 8:37pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/5 "2022-01-11T20:37:09Z")

</div>

There are priorities in settings from top to bottom, e.g. I’m an admin(group set 1) and I’m also part of group A(group set 2), I got ONLY toolbar for admin.

Basically, it checks in order for whether a user belongs to group set 1 or 2, if not, check if they are excluded from the excluded group. Non-logged-in user doesn’t have group settings so they are checked separately.

My admin toolbar

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/f/9ff4871af85ea43b9ab9b4f1112830f8d4b12a9b.png)

Non-logged-in users toolbar

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/e/febe3fc306785277be4c53f2611330828a703b15.png)

User in group A toolbar  
 ![image](https://global.discourse-cdn.com/meta/original/3X/7/7/771c5691083172fd59d819af394e3aeb856174f7.png)

User not in group B toolbar

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/6/c6ef456f7fcb625bee893e1b907c440d10ddb1e5.png)

\*the icon color and suffix text αre not included in this component, I add extra css.

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 11, 2022, 9:17pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/6 "2022-01-11T21:17:56Z")

</div>

Thank you this is quite an Awesome theme componet and will be very useful. 🖖😎👍✨

---

<div class="post-metadata">

### Author: ![Tiago\_santos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tiago_santos/32/249753_2.png) [@Tiago\_santos](https://meta.discourse.org/u/Tiago_santos)
#### Post date: [August 19, 2022, 3:40am UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/7 "2022-08-19T03:40:26Z")

</div>

@th21 very usefull to me. thank a lot for sharing

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 25, 2023, 3:52am UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/8 "2023-01-25T03:52:00Z")

</div>

would you consider adding an option to use this instead for viewing a category with subcategories as a toolbar just below main site header? or perhaps a variant?

---

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [January 26, 2023, 12:17am UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/9 "2023-01-26T00:17:38Z")

</div>

Not sure what you mean, do you have an example/mock-up?

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [January 26, 2023, 3:29am UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/10 "2023-01-26T03:29:50Z")

</div>

What I am looking to have to give an example when a user us viewing a A category, Say one dedicated to “Company A” Products they have an Toolbar under site header that gives links to that company’s Website with links say the company’s Store, tech support & so on

When the member reads a different category say one for company B then they have a toolbar under main site bar that has links for company B.

So

Comp A, Store, Support  
Comp B, Store, Support

Problem with groups is member might be in both groups.

---

<div class="post-metadata">

### Author: ![th21](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/th21/32/211915_2.png) [@th21](https://meta.discourse.org/u/th21)
#### Post date: [December 6, 2025, 9:50pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/11 "2025-12-06T21:50:54Z")

</div>

I updated the componet and it should work now, but it seems I can’t remove the broken tag?

Some icons might mising bc they are referred by differenct name now, eg: paint-brush → paintbrush

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 6, 2025, 9:56pm UTC](https://meta.discourse.org/t/group-specific-tool-bar/214327/12 "2025-12-06T21:56:18Z")

</div>

I have removed the tag.
