Home > extract-pg-schema > TableSecurityPolicy
TableSecurityPolicy interface
Security policy on a table.
Signature:
typescript
export interface TableSecurityPolicy
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
"ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | Command type the policy applies to. "ALL" if all commands. | ||
boolean | Whether the policy is permissive. | ||
string | null | Modifiability expression of the policy specified by the WITH CHECK clause. | ||
string | Name of the security policy. | ||
string[] | Array of roles the policy is applied to. ["public"] if applied to all roles. | ||
string | null | Visibility expression of the policy specified by the USING clause. |