# Notification Banners

**URL:** https://meta.discourse.org/t/notification-banners/325279
**Category:** Theme component
**Created:** [September 6, 2024, 8:47am UTC](https://meta.discourse.org/t/notification-banners/325279 "2024-09-06T08:47:28Z")
**Posts on this page:** 1
**Showing post:** 32

<div class="post-metadata">

### Author: ![gormus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gormus/32/428592_2.png) [@gormus](https://meta.discourse.org/u/gormus)
#### Post date: [August 30, 2025, 8:57pm UTC](https://meta.discourse.org/t/notification-banners/325279/32 "2025-08-30T20:57:37Z")

</div>

I’ve been considering this idea to better target an audience using the Trust Levels:

> [@patrickemin](#):
>
> Hi, about the audience, it seems impossible to target **only** TL0 users is it? Because everyone is TL0 ?

I think I have something for you all to check out.

Though, **I recommend testing this on a non-production environment first as it introduces a breaking change**.

To install this version, use the `staging` branch of [Notification Banners](https://github.com/gormus/discourse-notification-banners):

 ![Install the staging branch for testing the new feature](https://global.discourse-cdn.com/meta/original/4X/a/4/a/a4a490df5277f34c29906f6ab0f9d56b9aefa34f.png)

## Breaking change

When the banner visibility is evaluated using the Audience field values, all the `trust_level_*` roles of the visitor are ignored, except the highest level.

For example, consider a user has these roles: `support_team`, `blog`, `trust_level_0`, `trust_level_1`, and `trust_level_2`.

The Audience field will consider the user only has `support_team`, `blog`, and `trust_level_2`.

So, if a banner needs to target **only** the TL2 users, the **Audience** field should need to be set to `trust_level_2`. The other trust levels will not see the banner.

I updated the description for the Audience field to clarify this change as well.

 ![Audience field description](https://global.discourse-cdn.com/meta/original/4X/d/b/b/dbb3f2661258cc8361fb6b7e4195c3044ec2caf3.png)

I plan to test these changes further, and probably create a new release by end of September. I appreciate any feedback you may provide.

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/notification-banners/325279)._
