VerdictUnion

PackageAxial.Guardrails
Why a raw effect call is allowed, or that it is not.

Specification

Kind
Union
Members
8
Examples
0
IsAllowanceSignature
this.IsAllowance
IsHostSignature
this.IsHost
IsOwnedSignature
this.IsOwned
IsReportedSignature
this.IsReported
OwnedSignature
Owned capability

Summary

NameSignatureSynopsis
Union cases
IsAllowancethis.IsAllowanceNo description available.
IsHostthis.IsHostNo description available.
IsOwnedthis.IsOwnedNo description available.
IsReportedthis.IsReportedNo description available.
OwnedOwned capabilityIn a file that claims the capability owning the API.
AllowanceAllowance AllowedAn axial-allow-raw-effect comment ending in (gap: name) or (why: text).
HostHostA host-role file, or a role whose effects.ambient level is allow.
ReportedReportedNot allowed: the agent must use the service.

Union cases

kind:member

IsAllowance

this.IsAllowance
Member

Returns

bool
kind:member

IsHost

this.IsHost
Member

Returns

bool
kind:member

IsOwned

this.IsOwned
Member

Returns

bool
kind:member

IsReported

this.IsReported
Member

Returns

bool
kind:member

Owned

Owned capability
Member
In a file that claims the capability owning the API.

Parameters

NameTypeDescription
capabilitystring

Returns

unit
kind:member

Allowance

Allowance Allowed
Member
An `axial-allow-raw-effect` comment ending in `(gap: name)` or `(why: text)`.

Parameters

NameTypeDescription
ItemAllowed

Returns

unit
kind:member

Host

Host
Member
A `host`-role file, or a role whose `effects.ambient` level is `allow`.

Returns

unit
kind:member

Reported

Reported
Member
Not allowed: the agent must use the service.

Returns

unit