Skip to content

SupabaseMembershipWriteGateColumns

SupabaseMembershipWriteGateColumns = object

Defined in: packages/contracts/src/supabase-rls.ts:396

containerLockColumn: AnyColumn

Defined in: packages/contracts/src/supabase-rls.ts:402

Boolean column on the container table; when true, only a manager may write (e.g. workspaces.locked).


containerPkColumn: AnyColumn

Defined in: packages/contracts/src/supabase-rls.ts:400

PK column on the container table the governed row’s container column references (e.g. workspaces.id).


containerTable: AnyPgTable

Defined in: packages/contracts/src/supabase-rls.ts:398

Container table holding the lock flag (e.g. the workspaces table).


membershipMutedColumn: AnyColumn

Defined in: packages/contracts/src/supabase-rls.ts:404

Boolean column on the membership table; when true, that member may not write (e.g. workspaceMembers.muted).