Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Limit Ensu Tauri capabilities

Manav Rathidce776c296db
diff --git a/rust/apps/ensu/src-tauri/capabilities/default.json b/rust/apps/ensu/src-tauri/capabilities/default.json
index c5514ff8a9..8c79dec1ae 100644
--- a/rust/apps/ensu/src-tauri/capabilities/default.json
+++ b/rust/apps/ensu/src-tauri/capabilities/default.json
@@ -6,11 +6,15 @@
"permissions": [
"core:default",
"dialog:default",
- "opener:default",
- "process:default",
+ "fs:allow-exists",
+ "fs:allow-mkdir",
+ "fs:allow-read-file",
+ "fs:allow-remove",
+ "fs:allow-write-file",
+ "opener:allow-default-urls",
+ "opener:allow-open-url",
+ "process:allow-restart",
"updater:default",
- "fs:read-all",
- "fs:write-all",
{
"identifier": "fs:scope",
"allow": [