Auth and row security
View as MarkdownIdentity
Section titled “Identity”Auth exports and row-security primitives from @sapporta/server plus generated project auth adapters.
Contract
Section titled “Contract”- Abilities authorize named actions; data authority supplies the active workspace and user boundary.
workspaceGlobalrequires the server-owned workspace column.workspaceUserScopedadditionally requires the server-owned user scope column.- Row guards create predicates, trusted insert values, trusted update patches, and foreign-key visibility checks.
- Clients cannot stamp or widen workspace, owner, role, or scope values.