I’m using the new “User management” component from Ignition 7.6. What I’m trying to achieve is to filter the users using this code:
def filterUser(self, user):
if "Administrador" in system.security.getRoles():
The problem is that the code doesn’t work. However, this same code run from a button it works.
Do you know what the problem is?