I have a custom object "customObject" with OWD public read/write. I need certain users to access certain records of this such object. I created fields:
User.ConfidentialAccess -- checkbox.
customObject.Confidential -- checkbox.
And I created an active restriction rule:
User.ConfidentialAccess = true
customObject.Confidential = true
Is there anything wrong with this definition? Am I misunderstanding the concept of restriction rules?
(EDIT) Thank you, Callum: I am adding the behavior resulting after activating the restriction rule: all users see all records... and this is why I say the restriction rule is not working.
I need the user with the ConfidentialAccess checkbox = true to be able to access the record with the Confidential checkbox = true.
On the other hand, the user with ConfidentialAccess = false to be able to access any records EXCEPT the records with Confidential = true.
Thx!