Hi there. I have a custom record where I want to restrict access to any record where the employee doesn't share the same custom segment.
I've tried creating a search and using the custom record's permissions to restrict the saved search, dashboard view, list view, sublist view etc but if the user performs a generic saved search, they can still bypass these results and see all records.
Also, if they know or can guess the internal IDs, they can also just access any record which doesn't share the same segment. I can use a script to restrict this but I can't stop them from being able to view the records via saved search.
Is there a standard way to achieve this restriction much like it works for department/class/location/subsidiary classifications with the "Apply Role Restrictions" checkbox? Where it will, by design, make the record inaccessible if the user doesn't have the same value?