RichCorbs
08/18/2021, 2:19 PMauth.user() function (similar to auth.id() and auth.user_id()) that returns public.users WHERE users.auth_id = auth.id() LIMIT 1 (probably not the right syntax but you get the intent) so that ANY attribute on the matching user record can be used in a policy.