fix(desktop): grant webview ACL permissions for shell-open and titlebar drag (#12719)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jamison LahmanandClaude Fable 5 authored and GitHub committed 2026-07-06 22:30:54 +00:00
1 parent 265e03e08f
commit 98d77b0799
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "main",
"description": "Grants the webview pages the plugin commands they invoke: shell open for target=_blank links (the shell plugin's injected click handler) and window dragging / double-click maximize for the injected titlebar drag region. The server URL is user-configurable (self-hosted deployments), so the remote grant must cover any origin the webview may load.",
"windows": ["*"],
"local": true,
"remote": {
"urls": ["http://*:*", "https://*:*"]
},
"permissions": [
"core:window:allow-start-dragging",
"core:window:allow-internal-toggle-maximize",
"shell:default"
]
}