Home / Type/ PostgresPolicyCreatePayload Type — supabase Architecture

PostgresPolicyCreatePayload Type — supabase Architecture

Architecture documentation for the PostgresPolicyCreatePayload type/interface in Policies.types.ts from the supabase codebase.

Entity Profile

Source Code

apps/studio/components/interfaces/Auth/Policies/Policies.types.ts lines 18–27

export interface PostgresPolicyCreatePayload {
  name: string
  table: string
  schema?: string
  definition?: string
  check?: string
  action?: 'PERMISSIVE' | 'RESTRICTIVE'
  command?: 'SELECT' | 'INSERT' | 'UPDATE' | 'DELETE' | 'ALL'
  roles?: string[]
}

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free