User Source not found - Vision User Management

Hi ,

I am creating a window in Vision for user management if the user is an admin it should be able to edit all user and if the user is an operator it should only be able to edit his own login details.

I have achieved this in the past with the typical :

if(hasRole("Administrator"),0,1)

It works just fine when I login as admin, but when I login as "Operator" I am
am getting the error:

com.inductiveautomation.ignition.client.gateway_interface.GatewayException: java.lang.IllegalArgumentException: User Source "The name of my Identity Provider" not found.

I do not understand why it would try to see my Identity Provider as a 'User Source'. I have made sure to add "Operator" under Project/Project Properties/Vision/Permissions/User Management.

Does anyone have a clue why this might be happening?

The full details of the error message are:

ExecutionException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: java.lang.IllegalArgumentException: User Source "The name of my Identity Provider" not found.
caused by GatewayException: java.lang.IllegalArgumentException: User Source "The name of my Identity Provider" not found.
caused by GatewayFunctionException: java.lang.IllegalArgumentException: User Source "The name of my Identity Provider" not found.

Ignition v8.1.7 (b2021060314)
Java: Azul Systems, Inc. 11.0.11

Thank you all in advance!