Skip to main content

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​

NameValueDescription
Open0No enforcing policy applies (system caller, no policies, or unprotected type).
Granted1A role of the caller holds a full-scope grant for the action.
GrantedAsOwner2An owned-only grant applies and the caller owns the entity (or, type level, may create).
AuditOnly3An AuditOnly policy would have refused the caller; the action passes and RtDataPermissionVerdict.AuditOnlyViolation is set.
NoGrant4The type is protected and no role of the caller holds a grant for the action.
NotOwner5An owned-only grant applies but the caller is not the owner of the entity.
EntityNotFound6No entity with the given id is stored (answered as RtDataPermissionDecision.NotVisible).
BlueprintLocked7The entity is locked by a blueprint and the type opted into blueprint-lock protection.