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:
parent
9c6f19f9a5
commit
cd4b702198
1 changed files with 11 additions and 2 deletions
|
|
@ -1,10 +1,19 @@
|
||||||
{
|
{
|
||||||
"$schema": "../gen/schemas/desktop-schema.json",
|
"$schema": "../gen/schemas/desktop-schema.json",
|
||||||
"identifier": "default",
|
"identifier": "default",
|
||||||
"description": "Capability for the main window",
|
"description": "Capability for all windows",
|
||||||
"windows": ["main"],
|
"windows": ["main", "chat-*"],
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"core:default",
|
"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",
|
"opener:default",
|
||||||
"store:default",
|
"store:default",
|
||||||
"store:allow-load",
|
"store:allow-load",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue