A capability a descendant app asked for, delivered as the request field on the app_permission_request event payload. Answer it now with :grant() / :deny(), or stash it and answer on a later frame (e.g. when the user picks Allow or Deny). Dropping every reference to it without answering denies the request — promptly when the handler returns without keeping it, but only eventually when a kept reference is released later, so a deferring handler should answer explicitly. A request kept unanswered leaves the requester suspended; it is denied when the keeping app terminates.
The justification the requester supplied, or nil when none was given.
Methods 2
PermissionRequest:grant
method
PermissionRequest:grant()
Approve the request. The grant is narrowed against the answering app's own holdings — a manager cannot grant a capability it does not itself hold. Raises when the answering app cannot manage the requester, or when the request was already answered; does nothing once the requester has ended.
Refuse the request. Raises when the answering app cannot manage the requester, or when the request was already answered; does nothing once the requester has ended.