DEV Community

Discussion on: Creating trigger functions with Supabase

Collapse
 
arpankiit2017 profile image
ArpanKIIT2017

If we define the SECURITY as INVOKER will the queries executed as a part of the trigger body respect RLS defined as per the logged in Supabase User (as in those policies that use auth.uid()).

Also if any query within the block operate on rows that are not accessible within the RLS policy, will it exclude them or throw error?