CkAttributeAccessDto
Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects
CK v2 (AB#5668): how the generic GraphQL CRUD path may touch an attribute assignment. Declared per assignment (CkTypeAttributeDto.Access); omitted means CkAttributeAccessDto.ReadWrite.
public enum CkAttributeAccessDto
Inheritance Object → ValueType → Enum → CkAttributeAccessDto
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Remarks:
The engine parses, persists and carries the value through the graph; the API layer (asset-repo GraphQL) enforces it — CkAttributeAccessDto.Hidden is never exposed in output or input. The compiler keeps Hidden out of display rules, indexes, auto-complete values and association roles (messages 105–108). The value restricts the API surface only — the engine repository, imports and exports still read and write the attribute.
Fields
| Name | Value | Description |
|---|---|---|
| ReadWrite | 0 | Default: readable and writable through generic queries and mutations. |
| ReadOnly | 1 | Readable; writable through generic mutations only on create. |
| MethodOnly | 2 | Readable; written only by CK methods, never by generic mutations. |
| Hidden | 3 | Never exposed through GraphQL output or input (e.g. password hashes, security stamps). |