2026-03-15 19:44:02 +01:00
{
"identifier" : "default" ,
2026-07-20 14:51:14 +02:00
"description" : "Default capability granting core permissions to the main window. NOTE: http:allow-fetch is the ONLY URL-scoped HTTP identifier — tauri-plugin-http validates the URL once, in the `fetch` command; `fetch_send` and `fetch_read_body` take an already-validated ResourceId and never consult a scope, so allow/deny blocks on those identifiers are inert. Do not re-add them." ,
2026-03-15 19:44:02 +01:00
"windows" : [
"main"
],
"permissions" : [
"core:default" ,
"core:event:default" ,
"core:window:default" ,
"core:window:allow-show" ,
"core:window:allow-hide" ,
"core:window:allow-set-focus" ,
"core:window:allow-is-visible" ,
2026-03-17 02:56:19 +01:00
"core:window:allow-set-position" ,
"core:window:allow-set-size" ,
"core:window:allow-maximize" ,
"core:window:allow-is-maximized" ,
2026-07-19 11:20:00 +00:00
"core:window:allow-is-minimized" ,
2026-03-17 02:56:19 +01:00
"core:window:allow-outer-position" ,
"core:window:allow-outer-size" ,
2026-07-19 10:50:10 +00:00
"core:window:allow-available-monitors" ,
2026-07-24 10:44:06 +02:00
"core:window:allow-center" ,
2026-08-08 17:56:43 +02:00
"core:window:allow-request-user-attention" ,
2026-03-15 19:44:02 +01:00
"notification:default" ,
"notification:allow-notify" ,
"notification:allow-request-permission" ,
"notification:allow-is-permission-granted" ,
{
"identifier" : "http:allow-fetch" ,
"allow" : [
{
"url" : "https://*:*"
},
{
"url" : "https://*"
2026-07-19 14:26:25 +00:00
},
{
"url" : "http://127.0.0.1:*"
2026-03-15 19:44:02 +01:00
}
2026-07-20 14:51:14 +02:00
],
"deny" : [
2026-03-15 19:44:02 +01:00
{
2026-07-20 14:51:14 +02:00
"url" : "https://localhost"
2026-03-15 19:44:02 +01:00
},
{
2026-07-20 14:51:14 +02:00
"url" : "https://localhost:*"
2026-07-19 14:26:25 +00:00
},
{
2026-07-20 14:51:14 +02:00
"url" : "https://127.0.0.1"
2026-07-19 14:26:25 +00:00
},
{
2026-07-20 14:51:14 +02:00
"url" : "https://127.0.0.1:*"
2026-03-15 19:44:02 +01:00
}
]
},
2026-07-20 14:51:14 +02:00
"http:allow-fetch-send" ,
"http:allow-fetch-read-body" ,
2026-03-18 14:13:52 +01:00
"http:allow-fetch-cancel" ,
2026-03-18 17:10:16 +01:00
"opener:default" ,
"dialog:default" ,
2026-03-18 17:47:59 +01:00
"process:allow-restart" ,
2026-07-24 10:44:06 +02:00
"window-state:default" ,
"autostart:allow-enable" ,
"autostart:allow-disable" ,
"autostart:allow-is-enabled" ,
"deep-link:default" ,
"deep-link:allow-register" ,
2026-03-18 17:10:16 +01:00
"fs:default" ,
{
"identifier" : "fs:allow-write-file" ,
"allow" : [
{
2026-03-31 19:11:36 +02:00
"path" : "$APPDATA/**"
},
{
"path" : "$APPLOG/**"
2026-03-18 17:10:16 +01:00
}
]
2026-03-28 20:42:37 +01:00
},
{
"identifier" : "fs:allow-write-text-file" ,
"allow" : [
{
"path" : "$APPLOG/**"
}
]
},
{
"identifier" : "fs:allow-mkdir" ,
"allow" : [
{
"path" : "$APPLOG/**"
}
]
},
{
"identifier" : "fs:allow-exists" ,
"allow" : [
{
"path" : "$APPLOG/**"
}
]
},
{
"identifier" : "fs:allow-read-dir" ,
"allow" : [
{
"path" : "$APPLOG/**"
}
]
},
{
"identifier" : "fs:allow-remove" ,
"allow" : [
{
"path" : "$APPLOG/**"
}
]
},
{
"identifier" : "fs:allow-read-text-file" ,
"allow" : [
{
"path" : "$APPLOG/**"
}
]
2026-03-18 17:10:16 +01:00
}
2026-03-15 19:44:02 +01:00
]
}