Skip to main content

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​

NameValueDescription
ReadWrite0Default: readable and writable through generic queries and mutations.
ReadOnly1Readable; writable through generic mutations only on create.
MethodOnly2Readable; written only by CK methods, never by generic mutations.
Hidden3Never exposed through GraphQL output or input (e.g. password hashes, security stamps).