PostgreSQL - Roles and Security
You wrote this policy to allow users to update their own rows:
CREATE POLICY update_own ON orders FOR UPDATE USING (user_id = current_user);But users report they can update other users' rows too. What is the likely problem?
