RtDataPermissionReason
Namespace: Meshmakers.Octo.Runtime.Contracts.DataPermissions
Language-neutral reason code of an RtDataPermissionVerdict. For machine use and logging only; never part of a user-facing text.
public enum RtDataPermissionReason
Inheritance Object → ValueType → Enum → RtDataPermissionReason
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Fields
| Name | Value | Description |
|---|---|---|
| Open | 0 | No enforcing policy applies (system caller, no policies, or unprotected type). |
| Granted | 1 | A role of the caller holds a full-scope grant for the action. |
| GrantedAsOwner | 2 | An owned-only grant applies and the caller owns the entity (or, type level, may create). |
| AuditOnly | 3 | An AuditOnly policy would have refused the caller; the action passes and RtDataPermissionVerdict.AuditOnlyViolation is set. |
| NoGrant | 4 | The type is protected and no role of the caller holds a grant for the action. |
| NotOwner | 5 | An owned-only grant applies but the caller is not the owner of the entity. |
| EntityNotFound | 6 | No entity with the given id is stored (answered as RtDataPermissionDecision.NotVisible). |
| BlueprintLocked | 7 | The entity is locked by a blueprint and the type opted into blueprint-lock protection. |