Planned schema changes: -- Apply the policies of tasks.projects to its owner ALTER TABLE "tasks"."projects" FORCE ROW LEVEL SECURITY; -- Modify RLS policy projects_user_select on table tasks.projects: using_expression DROP POLICY IF EXISTS "projects_user_select" ON "tasks"."projects"; CREATE POLICY "projects_user_select" ON "tasks"."projects" FOR SELECT USING (user_id = current_setting('app.user_id')::uuid);