Fix Tauri ACL permissions for chat windows

- Add chat-* window pattern to allow chat popup windows
- Add event permissions (listen, unlisten, emit)
- Add window permissions (close, hide, show, set-focus)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
esdrasrenan 2025-12-07 03:58:49 -03:00
parent 9c6f19f9a5
commit cd4b702198

View file

@ -1,10 +1,19 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"description": "Capability for all windows",
"windows": ["main", "chat-*"],
"permissions": [
"core:default",
"core:event:default",
"core:event:allow-listen",
"core:event:allow-unlisten",
"core:event:allow-emit",
"core:window:default",
"core:window:allow-close",
"core:window:allow-hide",
"core:window:allow-show",
"core:window:allow-set-focus",
"opener:default",
"store:default",
"store:allow-load",