Hi All,
I am working in Servoy 2025.03 . user.removeRole(“XX”) is not working . I am not sure.
Please provide some suggestions on this.
Hi All,
I am working in Servoy 2025.03 . user.removeRole(“XX”) is not working . I am not sure.
Please provide some suggestions on this.
I assume you are talking about the svySecurity module?
Do you get an error? Or it just doesn’t remove the role?
Did you step through in debugger? (If the named role does not exist for the user, it will silently do nothing)
Hi Sean,
Thanks for your response . Sorry for my delayed response.
In our application . we are displaying tabs depending on some roles associated with the user . when I am adding roles to an user , we can see new tabs . These roles are checkboxes . But when I am trying to remove roles . The tabs are still getting displayed . This is the problem.
Please share your suggestions.