I want to allow a user to access records on a bucket which is a complete database of all the users. I need to restrict the user to its own records only. How can I do that?
For example, there are two users - A and B.
I want user A to be able to see(Read only access) the records that he owns. He should not be able to see user B records.
If I choose different buckets, I can solve the issue; however I can not do that as my user count might be in thousands.