PostgreSQL - Roles and Security
You want to allow users to SELECT rows from
tasks table only if they are assigned to the task or if they are an admin. The tasks table has columns assigned_user and is_admin (boolean). Which policy condition correctly enforces this?