Module permission_prompt
Expand description
Inline permission prompt — the bar that pops in at the top of the active strip when a sandboxed app requests a capability.
App icon + capability description + four-action button cluster: Allow (this request only), This session (until shell restart), Always allow (persists; owner-only), Deny (subsequent requests prompt again).
Render-only relative to the CRDT — its content is fed by a parent. The
user’s choice is exposed via PermissionPrompt::pending_choice as a
one-shot output; the parent drains it each frame and applies the
resulting Capability grant.
Structs§
- Permission
Prompt - Inline permission prompt widget.
Enums§
- Prompt
Choice - Mirrors the variants of the shell’s consumer-facing
quick_shell::shell::state::GrantScopeplus an explicitPromptChoice::Denyfor the negative path. Held one-shot onPermissionPrompt::pending_choiceuntil the host drains it.
Constants§
Functions§
- button_
label - Shared localized label for pointer and semantic permission decisions.