DomainColumnRestriction
Defined in: js-api/src/domains.ts:605
Restricts a column (splits it out of the everyone-visible core schema, idempotently) and
applies grant/revoke DELTAS on its per-column schema — never a full list, so a grant somebody
else made meanwhile survives an edit that never named it. A key column of an external table
cannot be restricted ('key-column').
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
column | string | The column's logical name. | DomainColumnTarget.column | js-api/src/domains.ts:598 |
from? | "unrestricted" | "restricted" | The restriction state the edit was made from. A standalone unrestriction moves no schema version, so this is what catches it: sent, the apply is refused under the lock ('access-conflict', naming the column and both states) when the column's state differs; omitted, the op applies whatever the state. | - | js-api/src/domains.ts:610 |
grant? | DomainGroupPermission[] | Permissions to grant on the per-column schema. | - | js-api/src/domains.ts:616 |
revision? | string | The DomainColumnAccess.revision the edit was made from; sent, the apply is refused ('access-conflict', with expectedRevision and currentRevision) when the column's grants changed since. | - | js-api/src/domains.ts:614 |
revoke? | DomainGroupPermission[] | Permissions to revoke from the per-column schema. | - | js-api/src/domains.ts:618 |
table | string | The table's logical name. | DomainColumnTarget.table | js-api/src/domains.ts:596 |