Skip to content
Interfacecorev0.10.0

PermissionAssertion

The check assertPermissions runs.

interface PermissionAssertion extends PermissionNoticeOverrides

inverse

Refuse when the subject holds a scope bit.

inverse?: boolean

permissions

The effective permission bitfield the subject holds, computed by the caller.

permissions: bigint;

subject

Mention string for who is checked, used as the refusal's subject.

subject: string;