Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Permissions

cinnabar:extension/permissions@0.1.0

Read-only introspection of this instance’s explicitly granted capabilities.

Grants: None; querying does not change authority.

Types

permission

One named capability on this instance; granted does not describe command-name scope.

record permission {
    name: string,
    label: string,
    granted: bool,
}
MemberTypeDescription
namestring
labelstring
grantedbool

Functions

read

read: func() -> list<permission>;

Reads this instance’s permission status, including denied capabilities, without a grant.

Types: permission.