OwnerOrAdminAccessOptions
OwnerOrAdminAccessOptions =
object
Defined in: packages/contracts/src/supabase-rls.ts:291
Claim-reading options for the read mirror; every field must match the value the policies were built with, or the two surfaces stop agreeing.
Properties
Section titled “Properties”adminRoleName?
Section titled “adminRoleName?”
optionaladminRoleName?:string
Defined in: packages/contracts/src/supabase-rls.ts:293
Role value (in app_metadata.roles) that bypasses ownership (default “admin”).
adminRolesClaimPath?
Section titled “adminRolesClaimPath?”
optionaladminRolesClaimPath?: readonlystring[]
Defined in: packages/contracts/src/supabase-rls.ts:295
Path to the roles array in the claims. Defaults to adminRolesClaimPath.