CkAttributeAccessDto
Namespace: Meshmakers.Octo.ConstructionKit.Contracts.DataTransferObjects
CK v2: 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 engine
repository itself still reads and writes the attribute (CK methods run through it), but the RT exchange paths
honour the access too: ExportRt never emits a CkAttributeAccessDto.Hidden value, and an import,
blueprint seed, blueprint update or migration Add step refuses a value for a CkAttributeAccessDto.Hidden or
CkAttributeAccessDto.MethodOnly attribute (message 139).
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). |