Allow select for all users that provide in input an ID.

I'm looking for a RLS that allows users perform public select only if they provide an ID in input and the provided ID exist in the table (cars). Is possible to have such a RLS working?
Was this page helpful?