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
Hello sanjuktab2257
You could add these people to specific groups and use these groups to determine the visibility. You can call the a!isUserMemberOfGroup() against the loggedInUser in a local and use it in the ShowWhen parameter of your critical fields.
This is probably the most straightforward way.
If you want to achieve true row level security you could also isolate the sensitive fields in a separate Record Type and secure it with whatever group you choose.
This way, the security will apply anywhere the Record is queried (i.e. Process HQ).