ReadonlyenabledObservation is explicit; must be true.
ReadonlypermissionsExact permission name → approved display alias. At most 128 entries.
Optional ReadonlypolicyApproved alias for the policy revision, present only when configured.
ReadonlyrolesExact role name → approved display alias. At most 128 entries.
Authorization decision-explanation options (M98h).
Opt-in observation of the first-party RBAC evaluation.
enabledmust betrue; the option is validated at construction, so a malformed option — includingenabled: falsefrom a caller the literal type cannot reach — refuses before any application exists, with a fixed, value-free message.rolesandpermissionsare exact-name → display-alias maps for the rules the explanations may name. Every alias and the optionalpolicyRevisioncarry M98d's shape rule verbatim: non-empty UTF-8, 1–64 bytes, no control character, unique within its map. Up to 128 entries per map. A decision whose requested rules are not ALL approved is dropped before buffering and counted in the batch'sdroppedUnapproved— partial rule lists are never emitted, because a position in a partial list still identifies the rule. A granting principal role is reported only when it has an approved role alias.Since
0.8.0