RtDataPermissionDecision
Namespace: Meshmakers.Octo.Runtime.Contracts.DataPermissions
Outcome of a data-permission check. The three outcomes are deliberately distinct so a caller can map them differently: RtDataPermissionDecision.NotVisible must be answered exactly like a missing entity (not found), RtDataPermissionDecision.NotPermitted like a refusal.
public enum RtDataPermissionDecision
Inheritance Object → ValueType → Enum → RtDataPermissionDecision
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Allowed | 0 | The caller may perform the action. |
| NotVisible | 1 | The caller cannot read the entity (or, for a type-level read check, the type). To the caller the entity does not exist — answer "not found", never "forbidden". |
| NotPermitted | 2 | The entity is visible to the caller but the action is not permitted. |