How can we allow certain users to view critical fields while restricting access for others, all within the same application and read-only interface? What’s the best approach to achieve this?
Discussion posts and replies are publicly visible
Using a!isUserMemberOfGroup() won't meet my needs, as this function is only useful when users have already been added to a group. I’m aiming to define this for users' current sessions.
a!isUserMemberOfGroup()
Here are the steps I followed:
3. I called this expression from the interface containing the field I want to hide and utilized the showWhen condition.
showWhen
Even when abc logs in, abc can still see the field that should be hidden. I feel like I’m missing something here. Any suggestions or help would be greatly appreciated. Also, is there a way to track how local variables or rule inputs are changing in the backend when a user logs into the application and navigate different fields in the UI?