I have a table, customer on which I did the following:
customer
ALTER TABLE customer FORCE ROW LEVEL SECURITY; CREATE POLICY customer_rls ON customer USING
You forgot to enable row level security for the table.
ALTER TABLE customer enable ROW LEVEL SECURITY;
force only makes sure that RLS is applied if enabled, it does not enable RLS on the table.
force
Online example: https://rextester.com/TCLZ82421