# Odd hasRole behavior firing off more than expected in a client tag?

**URL:** <https://forum.inductiveautomation.com/t/odd-hasrole-behavior-firing-off-more-than-expected-in-a-client-tag/117734>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [November 4, 2026, 1:32pm UTC](https://forum.inductiveautomation.com/t/odd-hasrole-behavior-firing-off-more-than-expected-in-a-client-tag/117734 "2026-11-04T13:32:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 4, 2026, 6:22pm UTC](https://forum.inductiveautomation.com/t/odd-hasrole-behavior-firing-off-more-than-expected-in-a-client-tag/117734/4 "2026-11-04T18:22:34Z")

</div>

Amusingly, I thought I remembered something like this but it was the exact inverse problem; `hasRole` not firing often enough:

> [@Client tag expression with hasRole NPE](https://forum.inductiveautomation.com/t/client-tag-expression-with-hasrole-npe/100483):
>
> I've got a weird issue, and I'm not sure if this is because of my usage or if there is an actual problem going on here. I want to use a Vision Client tag to generate some bit based on the current user roles. IE if the user has the "Operator" role then we will turn on a client tag so that it can be easily tweaked down the road. The expression that I'm using is: hasRole('Operator',{[System]Client/User/Username}) The User Source I'm using has a failover to another user source. The main user so…

Nothing code-wise has changed in between, especially not in 8.1, so I can't really explain it. If you send a report in to support they'd probably investigate further.

---

_[View the full topic](https://forum.inductiveautomation.com/t/odd-hasrole-behavior-firing-off-more-than-expected-in-a-client-tag/117734)._
