How to show few content only to owner based on a field

I want to create a content type where I will have an additional field: “public/private”.
If its public, the content will be shown to all.
If its private, the content will be shown only to owner.

How can I achieve that. I read about policies, but couldn’t find a solution.l

1 Like

facing same problem - any help?