re-enable isolation. fmt. default perms

This commit is contained in:
FabianLars
2025-08-14 14:03:58 +02:00
parent 9804eeef03
commit d1edf783e1
8 changed files with 40 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
[default]
description = """
This set of permissions describes the what kind of
This set of permissions describes what kind of
file system access the `fs` plugin has enabled or denied by default.
#### Granted Permissions
@@ -0,0 +1,23 @@
"$schema" = "schemas/schema.json"
# TODO: Discuss defaults. Also consider potentional encrypt/decrypt-like functions.
[default]
description = """
This permission set configures which
Secure Storage APIs are available by defaultt.
#### Granted Permissions
In the PoC phase all commands are allowed by default.
"""
permissions = [
"allow-arch",
"allow-exe-extension",
"allow-family",
"allow-locale",
"allow-os-type",
"allow-platform",
"allow-version",
]
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
use tauri::{AppHandle, Runtime, command};
use tauri::{command, AppHandle, Runtime};
use crate::{Result, SecureStorageExt};
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
use serde::{Serialize, ser::Serializer};
use serde::{ser::Serializer, Serialize};
pub type Result<T> = std::result::Result<T, Error>;
+1 -1
View File
@@ -4,8 +4,8 @@
use keyring::Entry;
use tauri::{
AppHandle, Manager, Runtime,
plugin::{Builder, TauriPlugin},
AppHandle, Manager, Runtime,
};
mod commands;