buildSupabaseGrantScopeNativePolicies
buildSupabaseGrantScopeNativePolicies(
options):PgPolicy[]
Defined in: packages/contracts/src/supabase-rls.ts:739
Native Drizzle RLS policies for a JWT-resident grant set (see the section comment). Pass the real
scope column; the governed table name is derived from it. By default the predicate is the
InitPlan-correct uncorrelated IN (subquery); pass naive: true for the correlated cliff variant.
Parameters
Section titled “Parameters”options
Section titled “options”SupabaseGrantScopeNativePoliciesOptions
Returns
Section titled “Returns”PgPolicy[]