Skip to content

ParentModel

ParentModel = object

Defined in: packages/schema/src/model.ts:748

A record that a resource’s records belong to through a relation field, such as an operation’s VM: creating, changing, deleting or undeleting a record needs access on the record field points at, checked with the caller’s own access rules on that resource; with read, every read of its records keeps to those whose parent the caller reads. See Records that belong to another.

access: ParentAccess

Defined in: packages/schema/src/model.ts:752

The access on the parent record that writing needs.


field: string

Defined in: packages/schema/src/model.ts:750

The relation field that points at the parent record.