mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-29 12:06:01 +02:00
re-enable isolation. fmt. default perms
This commit is contained in:
@@ -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",
|
||||
]
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -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>;
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
use keyring::Entry;
|
||||
use tauri::{
|
||||
AppHandle, Manager, Runtime,
|
||||
plugin::{Builder, TauriPlugin},
|
||||
AppHandle, Manager, Runtime,
|
||||
};
|
||||
|
||||
mod commands;
|
||||
|
||||
Reference in New Issue
Block a user