This commit is contained in:
FabianLars
2025-08-07 15:28:44 +02:00
parent 8cb053f47c
commit 63f660996f
31 changed files with 183 additions and 618 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ name: check generated files
on:
pull_request:
paths:
- ".github/workflows/check-generated-files.yml"
- '.github/workflows/check-generated-files.yml'
- pnpm-lock.yaml
- "**/guest-js/**"
- '**/guest-js/**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -169,7 +169,7 @@ jobs:
${{ runner.os }}-
- uses: actions/setup-node@v4
with:
node-version: "lts/*"
node-version: 'lts/*'
- uses: pnpm/action-setup@v4
with:
version: 10.x.x
+8 -8
View File
@@ -10,19 +10,19 @@ on:
- v1
- v2
paths:
- ".github/workflows/lint-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
- '.github/workflows/lint-rust.yml'
- 'plugins/*/src/**'
- '!plugins/*/src/api-iife.js'
- '**/Cargo.toml'
pull_request:
branches:
- v1
- v2
paths:
- ".github/workflows/lint-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
- '.github/workflows/lint-rust.yml'
- 'plugins/*/src/**'
- '!plugins/*/src/api-iife.js'
- '**/Cargo.toml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+20 -20
View File
@@ -10,21 +10,21 @@ on:
- v1
- v2
paths:
- ".github/workflows/test-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
- "**/Cargo.lock"
- '.github/workflows/test-rust.yml'
- 'plugins/*/src/**'
- '!plugins/*/src/api-iife.js'
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
branches:
- v1
- v2
paths:
- ".github/workflows/test-rust.yml"
- "plugins/*/src/**"
- "!plugins/*/src/api-iife.js"
- "**/Cargo.toml"
- "**/Cargo.lock"
- '.github/workflows/test-rust.yml'
- 'plugins/*/src/**'
- '!plugins/*/src/api-iife.js'
- '**/Cargo.toml'
- '**/Cargo.lock'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -199,32 +199,32 @@ jobs:
- {
target: x86_64-pc-windows-msvc,
os: windows-latest,
runner: "cargo",
command: "test",
runner: 'cargo',
command: 'test'
}
- {
target: x86_64-unknown-linux-gnu,
os: ubuntu-22.04,
runner: "cargo",
command: "test",
runner: 'cargo',
command: 'test'
}
- {
target: aarch64-apple-darwin,
os: macos-latest,
runner: "cargo",
command: "test",
runner: 'cargo',
command: 'test'
}
- {
target: aarch64-apple-ios,
os: macos-latest,
runner: "cargo",
command: "build",
runner: 'cargo',
command: 'build'
}
- {
target: aarch64-linux-android,
os: ubuntu-latest,
runner: "cross",
command: "build",
runner: 'cross',
command: 'build'
}
runs-on: ${{ matrix.platform.os }}
@@ -36,47 +36,29 @@ path = "$APPCACHE"
[[set]]
identifier = "allow-appcache-read-recursive"
description = "This allows full recursive read access to the complete `$APPCACHE` folder, files and subdirectories."
permissions = [
"read-all",
"scope-appcache-recursive"
]
permissions = ["read-all", "scope-appcache-recursive"]
[[set]]
identifier = "allow-appcache-write-recursive"
description = "This allows full recursive write access to the complete `$APPCACHE` folder, files and subdirectories."
permissions = [
"write-all",
"scope-appcache-recursive"
]
permissions = ["write-all", "scope-appcache-recursive"]
[[set]]
identifier = "allow-appcache-read"
description = "This allows non-recursive read access to the `$APPCACHE` folder."
permissions = [
"read-all",
"scope-appcache"
]
permissions = ["read-all", "scope-appcache"]
[[set]]
identifier = "allow-appcache-write"
description = "This allows non-recursive write access to the `$APPCACHE` folder."
permissions = [
"write-all",
"scope-appcache"
]
permissions = ["write-all", "scope-appcache"]
[[set]]
identifier = "allow-appcache-meta-recursive"
description = "This allows full recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-appcache-recursive"
]
permissions = ["read-meta", "scope-appcache-recursive"]
[[set]]
identifier = "allow-appcache-meta"
description = "This allows non-recursive read access to metadata of the `$APPCACHE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-appcache-index"
]
permissions = ["read-meta", "scope-appcache-index"]
@@ -36,47 +36,29 @@ path = "$APPCONFIG"
[[set]]
identifier = "allow-appconfig-read-recursive"
description = "This allows full recursive read access to the complete `$APPCONFIG` folder, files and subdirectories."
permissions = [
"read-all",
"scope-appconfig-recursive"
]
permissions = ["read-all", "scope-appconfig-recursive"]
[[set]]
identifier = "allow-appconfig-write-recursive"
description = "This allows full recursive write access to the complete `$APPCONFIG` folder, files and subdirectories."
permissions = [
"write-all",
"scope-appconfig-recursive"
]
permissions = ["write-all", "scope-appconfig-recursive"]
[[set]]
identifier = "allow-appconfig-read"
description = "This allows non-recursive read access to the `$APPCONFIG` folder."
permissions = [
"read-all",
"scope-appconfig"
]
permissions = ["read-all", "scope-appconfig"]
[[set]]
identifier = "allow-appconfig-write"
description = "This allows non-recursive write access to the `$APPCONFIG` folder."
permissions = [
"write-all",
"scope-appconfig"
]
permissions = ["write-all", "scope-appconfig"]
[[set]]
identifier = "allow-appconfig-meta-recursive"
description = "This allows full recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-appconfig-recursive"
]
permissions = ["read-meta", "scope-appconfig-recursive"]
[[set]]
identifier = "allow-appconfig-meta"
description = "This allows non-recursive read access to metadata of the `$APPCONFIG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-appconfig-index"
]
permissions = ["read-meta", "scope-appconfig-index"]
@@ -36,47 +36,29 @@ path = "$APPDATA"
[[set]]
identifier = "allow-appdata-read-recursive"
description = "This allows full recursive read access to the complete `$APPDATA` folder, files and subdirectories."
permissions = [
"read-all",
"scope-appdata-recursive"
]
permissions = ["read-all", "scope-appdata-recursive"]
[[set]]
identifier = "allow-appdata-write-recursive"
description = "This allows full recursive write access to the complete `$APPDATA` folder, files and subdirectories."
permissions = [
"write-all",
"scope-appdata-recursive"
]
permissions = ["write-all", "scope-appdata-recursive"]
[[set]]
identifier = "allow-appdata-read"
description = "This allows non-recursive read access to the `$APPDATA` folder."
permissions = [
"read-all",
"scope-appdata"
]
permissions = ["read-all", "scope-appdata"]
[[set]]
identifier = "allow-appdata-write"
description = "This allows non-recursive write access to the `$APPDATA` folder."
permissions = [
"write-all",
"scope-appdata"
]
permissions = ["write-all", "scope-appdata"]
[[set]]
identifier = "allow-appdata-meta-recursive"
description = "This allows full recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-appdata-recursive"
]
permissions = ["read-meta", "scope-appdata-recursive"]
[[set]]
identifier = "allow-appdata-meta"
description = "This allows non-recursive read access to metadata of the `$APPDATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-appdata-index"
]
permissions = ["read-meta", "scope-appdata-index"]
@@ -36,47 +36,29 @@ path = "$APPLOCALDATA"
[[set]]
identifier = "allow-applocaldata-read-recursive"
description = "This allows full recursive read access to the complete `$APPLOCALDATA` folder, files and subdirectories."
permissions = [
"read-all",
"scope-applocaldata-recursive"
]
permissions = ["read-all", "scope-applocaldata-recursive"]
[[set]]
identifier = "allow-applocaldata-write-recursive"
description = "This allows full recursive write access to the complete `$APPLOCALDATA` folder, files and subdirectories."
permissions = [
"write-all",
"scope-applocaldata-recursive"
]
permissions = ["write-all", "scope-applocaldata-recursive"]
[[set]]
identifier = "allow-applocaldata-read"
description = "This allows non-recursive read access to the `$APPLOCALDATA` folder."
permissions = [
"read-all",
"scope-applocaldata"
]
permissions = ["read-all", "scope-applocaldata"]
[[set]]
identifier = "allow-applocaldata-write"
description = "This allows non-recursive write access to the `$APPLOCALDATA` folder."
permissions = [
"write-all",
"scope-applocaldata"
]
permissions = ["write-all", "scope-applocaldata"]
[[set]]
identifier = "allow-applocaldata-meta-recursive"
description = "This allows full recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-applocaldata-recursive"
]
permissions = ["read-meta", "scope-applocaldata-recursive"]
[[set]]
identifier = "allow-applocaldata-meta"
description = "This allows non-recursive read access to metadata of the `$APPLOCALDATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-applocaldata-index"
]
permissions = ["read-meta", "scope-applocaldata-index"]
@@ -36,47 +36,29 @@ path = "$APPLOG"
[[set]]
identifier = "allow-applog-read-recursive"
description = "This allows full recursive read access to the complete `$APPLOG` folder, files and subdirectories."
permissions = [
"read-all",
"scope-applog-recursive"
]
permissions = ["read-all", "scope-applog-recursive"]
[[set]]
identifier = "allow-applog-write-recursive"
description = "This allows full recursive write access to the complete `$APPLOG` folder, files and subdirectories."
permissions = [
"write-all",
"scope-applog-recursive"
]
permissions = ["write-all", "scope-applog-recursive"]
[[set]]
identifier = "allow-applog-read"
description = "This allows non-recursive read access to the `$APPLOG` folder."
permissions = [
"read-all",
"scope-applog"
]
permissions = ["read-all", "scope-applog"]
[[set]]
identifier = "allow-applog-write"
description = "This allows non-recursive write access to the `$APPLOG` folder."
permissions = [
"write-all",
"scope-applog"
]
permissions = ["write-all", "scope-applog"]
[[set]]
identifier = "allow-applog-meta-recursive"
description = "This allows full recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-applog-recursive"
]
permissions = ["read-meta", "scope-applog-recursive"]
[[set]]
identifier = "allow-applog-meta"
description = "This allows non-recursive read access to metadata of the `$APPLOG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-applog-index"
]
permissions = ["read-meta", "scope-applog-index"]
@@ -36,47 +36,29 @@ path = "$AUDIO"
[[set]]
identifier = "allow-audio-read-recursive"
description = "This allows full recursive read access to the complete `$AUDIO` folder, files and subdirectories."
permissions = [
"read-all",
"scope-audio-recursive"
]
permissions = ["read-all", "scope-audio-recursive"]
[[set]]
identifier = "allow-audio-write-recursive"
description = "This allows full recursive write access to the complete `$AUDIO` folder, files and subdirectories."
permissions = [
"write-all",
"scope-audio-recursive"
]
permissions = ["write-all", "scope-audio-recursive"]
[[set]]
identifier = "allow-audio-read"
description = "This allows non-recursive read access to the `$AUDIO` folder."
permissions = [
"read-all",
"scope-audio"
]
permissions = ["read-all", "scope-audio"]
[[set]]
identifier = "allow-audio-write"
description = "This allows non-recursive write access to the `$AUDIO` folder."
permissions = [
"write-all",
"scope-audio"
]
permissions = ["write-all", "scope-audio"]
[[set]]
identifier = "allow-audio-meta-recursive"
description = "This allows full recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-audio-recursive"
]
permissions = ["read-meta", "scope-audio-recursive"]
[[set]]
identifier = "allow-audio-meta"
description = "This allows non-recursive read access to metadata of the `$AUDIO` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-audio-index"
]
permissions = ["read-meta", "scope-audio-index"]
@@ -36,47 +36,29 @@ path = "$CACHE"
[[set]]
identifier = "allow-cache-read-recursive"
description = "This allows full recursive read access to the complete `$CACHE` folder, files and subdirectories."
permissions = [
"read-all",
"scope-cache-recursive"
]
permissions = ["read-all", "scope-cache-recursive"]
[[set]]
identifier = "allow-cache-write-recursive"
description = "This allows full recursive write access to the complete `$CACHE` folder, files and subdirectories."
permissions = [
"write-all",
"scope-cache-recursive"
]
permissions = ["write-all", "scope-cache-recursive"]
[[set]]
identifier = "allow-cache-read"
description = "This allows non-recursive read access to the `$CACHE` folder."
permissions = [
"read-all",
"scope-cache"
]
permissions = ["read-all", "scope-cache"]
[[set]]
identifier = "allow-cache-write"
description = "This allows non-recursive write access to the `$CACHE` folder."
permissions = [
"write-all",
"scope-cache"
]
permissions = ["write-all", "scope-cache"]
[[set]]
identifier = "allow-cache-meta-recursive"
description = "This allows full recursive read access to metadata of the `$CACHE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-cache-recursive"
]
permissions = ["read-meta", "scope-cache-recursive"]
[[set]]
identifier = "allow-cache-meta"
description = "This allows non-recursive read access to metadata of the `$CACHE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-cache-index"
]
permissions = ["read-meta", "scope-cache-index"]
@@ -36,47 +36,29 @@ path = "$CONFIG"
[[set]]
identifier = "allow-config-read-recursive"
description = "This allows full recursive read access to the complete `$CONFIG` folder, files and subdirectories."
permissions = [
"read-all",
"scope-config-recursive"
]
permissions = ["read-all", "scope-config-recursive"]
[[set]]
identifier = "allow-config-write-recursive"
description = "This allows full recursive write access to the complete `$CONFIG` folder, files and subdirectories."
permissions = [
"write-all",
"scope-config-recursive"
]
permissions = ["write-all", "scope-config-recursive"]
[[set]]
identifier = "allow-config-read"
description = "This allows non-recursive read access to the `$CONFIG` folder."
permissions = [
"read-all",
"scope-config"
]
permissions = ["read-all", "scope-config"]
[[set]]
identifier = "allow-config-write"
description = "This allows non-recursive write access to the `$CONFIG` folder."
permissions = [
"write-all",
"scope-config"
]
permissions = ["write-all", "scope-config"]
[[set]]
identifier = "allow-config-meta-recursive"
description = "This allows full recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-config-recursive"
]
permissions = ["read-meta", "scope-config-recursive"]
[[set]]
identifier = "allow-config-meta"
description = "This allows non-recursive read access to metadata of the `$CONFIG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-config-index"
]
permissions = ["read-meta", "scope-config-index"]
@@ -36,47 +36,29 @@ path = "$DATA"
[[set]]
identifier = "allow-data-read-recursive"
description = "This allows full recursive read access to the complete `$DATA` folder, files and subdirectories."
permissions = [
"read-all",
"scope-data-recursive"
]
permissions = ["read-all", "scope-data-recursive"]
[[set]]
identifier = "allow-data-write-recursive"
description = "This allows full recursive write access to the complete `$DATA` folder, files and subdirectories."
permissions = [
"write-all",
"scope-data-recursive"
]
permissions = ["write-all", "scope-data-recursive"]
[[set]]
identifier = "allow-data-read"
description = "This allows non-recursive read access to the `$DATA` folder."
permissions = [
"read-all",
"scope-data"
]
permissions = ["read-all", "scope-data"]
[[set]]
identifier = "allow-data-write"
description = "This allows non-recursive write access to the `$DATA` folder."
permissions = [
"write-all",
"scope-data"
]
permissions = ["write-all", "scope-data"]
[[set]]
identifier = "allow-data-meta-recursive"
description = "This allows full recursive read access to metadata of the `$DATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-data-recursive"
]
permissions = ["read-meta", "scope-data-recursive"]
[[set]]
identifier = "allow-data-meta"
description = "This allows non-recursive read access to metadata of the `$DATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-data-index"
]
permissions = ["read-meta", "scope-data-index"]
@@ -36,47 +36,29 @@ path = "$DESKTOP"
[[set]]
identifier = "allow-desktop-read-recursive"
description = "This allows full recursive read access to the complete `$DESKTOP` folder, files and subdirectories."
permissions = [
"read-all",
"scope-desktop-recursive"
]
permissions = ["read-all", "scope-desktop-recursive"]
[[set]]
identifier = "allow-desktop-write-recursive"
description = "This allows full recursive write access to the complete `$DESKTOP` folder, files and subdirectories."
permissions = [
"write-all",
"scope-desktop-recursive"
]
permissions = ["write-all", "scope-desktop-recursive"]
[[set]]
identifier = "allow-desktop-read"
description = "This allows non-recursive read access to the `$DESKTOP` folder."
permissions = [
"read-all",
"scope-desktop"
]
permissions = ["read-all", "scope-desktop"]
[[set]]
identifier = "allow-desktop-write"
description = "This allows non-recursive write access to the `$DESKTOP` folder."
permissions = [
"write-all",
"scope-desktop"
]
permissions = ["write-all", "scope-desktop"]
[[set]]
identifier = "allow-desktop-meta-recursive"
description = "This allows full recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-desktop-recursive"
]
permissions = ["read-meta", "scope-desktop-recursive"]
[[set]]
identifier = "allow-desktop-meta"
description = "This allows non-recursive read access to metadata of the `$DESKTOP` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-desktop-index"
]
permissions = ["read-meta", "scope-desktop-index"]
@@ -36,47 +36,29 @@ path = "$DOCUMENT"
[[set]]
identifier = "allow-document-read-recursive"
description = "This allows full recursive read access to the complete `$DOCUMENT` folder, files and subdirectories."
permissions = [
"read-all",
"scope-document-recursive"
]
permissions = ["read-all", "scope-document-recursive"]
[[set]]
identifier = "allow-document-write-recursive"
description = "This allows full recursive write access to the complete `$DOCUMENT` folder, files and subdirectories."
permissions = [
"write-all",
"scope-document-recursive"
]
permissions = ["write-all", "scope-document-recursive"]
[[set]]
identifier = "allow-document-read"
description = "This allows non-recursive read access to the `$DOCUMENT` folder."
permissions = [
"read-all",
"scope-document"
]
permissions = ["read-all", "scope-document"]
[[set]]
identifier = "allow-document-write"
description = "This allows non-recursive write access to the `$DOCUMENT` folder."
permissions = [
"write-all",
"scope-document"
]
permissions = ["write-all", "scope-document"]
[[set]]
identifier = "allow-document-meta-recursive"
description = "This allows full recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-document-recursive"
]
permissions = ["read-meta", "scope-document-recursive"]
[[set]]
identifier = "allow-document-meta"
description = "This allows non-recursive read access to metadata of the `$DOCUMENT` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-document-index"
]
permissions = ["read-meta", "scope-document-index"]
@@ -36,47 +36,29 @@ path = "$DOWNLOAD"
[[set]]
identifier = "allow-download-read-recursive"
description = "This allows full recursive read access to the complete `$DOWNLOAD` folder, files and subdirectories."
permissions = [
"read-all",
"scope-download-recursive"
]
permissions = ["read-all", "scope-download-recursive"]
[[set]]
identifier = "allow-download-write-recursive"
description = "This allows full recursive write access to the complete `$DOWNLOAD` folder, files and subdirectories."
permissions = [
"write-all",
"scope-download-recursive"
]
permissions = ["write-all", "scope-download-recursive"]
[[set]]
identifier = "allow-download-read"
description = "This allows non-recursive read access to the `$DOWNLOAD` folder."
permissions = [
"read-all",
"scope-download"
]
permissions = ["read-all", "scope-download"]
[[set]]
identifier = "allow-download-write"
description = "This allows non-recursive write access to the `$DOWNLOAD` folder."
permissions = [
"write-all",
"scope-download"
]
permissions = ["write-all", "scope-download"]
[[set]]
identifier = "allow-download-meta-recursive"
description = "This allows full recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-download-recursive"
]
permissions = ["read-meta", "scope-download-recursive"]
[[set]]
identifier = "allow-download-meta"
description = "This allows non-recursive read access to metadata of the `$DOWNLOAD` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-download-index"
]
permissions = ["read-meta", "scope-download-index"]
@@ -36,47 +36,29 @@ path = "$EXE"
[[set]]
identifier = "allow-exe-read-recursive"
description = "This allows full recursive read access to the complete `$EXE` folder, files and subdirectories."
permissions = [
"read-all",
"scope-exe-recursive"
]
permissions = ["read-all", "scope-exe-recursive"]
[[set]]
identifier = "allow-exe-write-recursive"
description = "This allows full recursive write access to the complete `$EXE` folder, files and subdirectories."
permissions = [
"write-all",
"scope-exe-recursive"
]
permissions = ["write-all", "scope-exe-recursive"]
[[set]]
identifier = "allow-exe-read"
description = "This allows non-recursive read access to the `$EXE` folder."
permissions = [
"read-all",
"scope-exe"
]
permissions = ["read-all", "scope-exe"]
[[set]]
identifier = "allow-exe-write"
description = "This allows non-recursive write access to the `$EXE` folder."
permissions = [
"write-all",
"scope-exe"
]
permissions = ["write-all", "scope-exe"]
[[set]]
identifier = "allow-exe-meta-recursive"
description = "This allows full recursive read access to metadata of the `$EXE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-exe-recursive"
]
permissions = ["read-meta", "scope-exe-recursive"]
[[set]]
identifier = "allow-exe-meta"
description = "This allows non-recursive read access to metadata of the `$EXE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-exe-index"
]
permissions = ["read-meta", "scope-exe-index"]
@@ -36,47 +36,29 @@ path = "$FONT"
[[set]]
identifier = "allow-font-read-recursive"
description = "This allows full recursive read access to the complete `$FONT` folder, files and subdirectories."
permissions = [
"read-all",
"scope-font-recursive"
]
permissions = ["read-all", "scope-font-recursive"]
[[set]]
identifier = "allow-font-write-recursive"
description = "This allows full recursive write access to the complete `$FONT` folder, files and subdirectories."
permissions = [
"write-all",
"scope-font-recursive"
]
permissions = ["write-all", "scope-font-recursive"]
[[set]]
identifier = "allow-font-read"
description = "This allows non-recursive read access to the `$FONT` folder."
permissions = [
"read-all",
"scope-font"
]
permissions = ["read-all", "scope-font"]
[[set]]
identifier = "allow-font-write"
description = "This allows non-recursive write access to the `$FONT` folder."
permissions = [
"write-all",
"scope-font"
]
permissions = ["write-all", "scope-font"]
[[set]]
identifier = "allow-font-meta-recursive"
description = "This allows full recursive read access to metadata of the `$FONT` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-font-recursive"
]
permissions = ["read-meta", "scope-font-recursive"]
[[set]]
identifier = "allow-font-meta"
description = "This allows non-recursive read access to metadata of the `$FONT` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-font-index"
]
permissions = ["read-meta", "scope-font-index"]
@@ -36,47 +36,29 @@ path = "$HOME"
[[set]]
identifier = "allow-home-read-recursive"
description = "This allows full recursive read access to the complete `$HOME` folder, files and subdirectories."
permissions = [
"read-all",
"scope-home-recursive"
]
permissions = ["read-all", "scope-home-recursive"]
[[set]]
identifier = "allow-home-write-recursive"
description = "This allows full recursive write access to the complete `$HOME` folder, files and subdirectories."
permissions = [
"write-all",
"scope-home-recursive"
]
permissions = ["write-all", "scope-home-recursive"]
[[set]]
identifier = "allow-home-read"
description = "This allows non-recursive read access to the `$HOME` folder."
permissions = [
"read-all",
"scope-home"
]
permissions = ["read-all", "scope-home"]
[[set]]
identifier = "allow-home-write"
description = "This allows non-recursive write access to the `$HOME` folder."
permissions = [
"write-all",
"scope-home"
]
permissions = ["write-all", "scope-home"]
[[set]]
identifier = "allow-home-meta-recursive"
description = "This allows full recursive read access to metadata of the `$HOME` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-home-recursive"
]
permissions = ["read-meta", "scope-home-recursive"]
[[set]]
identifier = "allow-home-meta"
description = "This allows non-recursive read access to metadata of the `$HOME` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-home-index"
]
permissions = ["read-meta", "scope-home-index"]
@@ -36,47 +36,29 @@ path = "$LOCALDATA"
[[set]]
identifier = "allow-localdata-read-recursive"
description = "This allows full recursive read access to the complete `$LOCALDATA` folder, files and subdirectories."
permissions = [
"read-all",
"scope-localdata-recursive"
]
permissions = ["read-all", "scope-localdata-recursive"]
[[set]]
identifier = "allow-localdata-write-recursive"
description = "This allows full recursive write access to the complete `$LOCALDATA` folder, files and subdirectories."
permissions = [
"write-all",
"scope-localdata-recursive"
]
permissions = ["write-all", "scope-localdata-recursive"]
[[set]]
identifier = "allow-localdata-read"
description = "This allows non-recursive read access to the `$LOCALDATA` folder."
permissions = [
"read-all",
"scope-localdata"
]
permissions = ["read-all", "scope-localdata"]
[[set]]
identifier = "allow-localdata-write"
description = "This allows non-recursive write access to the `$LOCALDATA` folder."
permissions = [
"write-all",
"scope-localdata"
]
permissions = ["write-all", "scope-localdata"]
[[set]]
identifier = "allow-localdata-meta-recursive"
description = "This allows full recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-localdata-recursive"
]
permissions = ["read-meta", "scope-localdata-recursive"]
[[set]]
identifier = "allow-localdata-meta"
description = "This allows non-recursive read access to metadata of the `$LOCALDATA` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-localdata-index"
]
permissions = ["read-meta", "scope-localdata-index"]
@@ -36,47 +36,29 @@ path = "$LOG"
[[set]]
identifier = "allow-log-read-recursive"
description = "This allows full recursive read access to the complete `$LOG` folder, files and subdirectories."
permissions = [
"read-all",
"scope-log-recursive"
]
permissions = ["read-all", "scope-log-recursive"]
[[set]]
identifier = "allow-log-write-recursive"
description = "This allows full recursive write access to the complete `$LOG` folder, files and subdirectories."
permissions = [
"write-all",
"scope-log-recursive"
]
permissions = ["write-all", "scope-log-recursive"]
[[set]]
identifier = "allow-log-read"
description = "This allows non-recursive read access to the `$LOG` folder."
permissions = [
"read-all",
"scope-log"
]
permissions = ["read-all", "scope-log"]
[[set]]
identifier = "allow-log-write"
description = "This allows non-recursive write access to the `$LOG` folder."
permissions = [
"write-all",
"scope-log"
]
permissions = ["write-all", "scope-log"]
[[set]]
identifier = "allow-log-meta-recursive"
description = "This allows full recursive read access to metadata of the `$LOG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-log-recursive"
]
permissions = ["read-meta", "scope-log-recursive"]
[[set]]
identifier = "allow-log-meta"
description = "This allows non-recursive read access to metadata of the `$LOG` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-log-index"
]
permissions = ["read-meta", "scope-log-index"]
@@ -36,47 +36,29 @@ path = "$PICTURE"
[[set]]
identifier = "allow-picture-read-recursive"
description = "This allows full recursive read access to the complete `$PICTURE` folder, files and subdirectories."
permissions = [
"read-all",
"scope-picture-recursive"
]
permissions = ["read-all", "scope-picture-recursive"]
[[set]]
identifier = "allow-picture-write-recursive"
description = "This allows full recursive write access to the complete `$PICTURE` folder, files and subdirectories."
permissions = [
"write-all",
"scope-picture-recursive"
]
permissions = ["write-all", "scope-picture-recursive"]
[[set]]
identifier = "allow-picture-read"
description = "This allows non-recursive read access to the `$PICTURE` folder."
permissions = [
"read-all",
"scope-picture"
]
permissions = ["read-all", "scope-picture"]
[[set]]
identifier = "allow-picture-write"
description = "This allows non-recursive write access to the `$PICTURE` folder."
permissions = [
"write-all",
"scope-picture"
]
permissions = ["write-all", "scope-picture"]
[[set]]
identifier = "allow-picture-meta-recursive"
description = "This allows full recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-picture-recursive"
]
permissions = ["read-meta", "scope-picture-recursive"]
[[set]]
identifier = "allow-picture-meta"
description = "This allows non-recursive read access to metadata of the `$PICTURE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-picture-index"
]
permissions = ["read-meta", "scope-picture-index"]
@@ -36,47 +36,29 @@ path = "$PUBLIC"
[[set]]
identifier = "allow-public-read-recursive"
description = "This allows full recursive read access to the complete `$PUBLIC` folder, files and subdirectories."
permissions = [
"read-all",
"scope-public-recursive"
]
permissions = ["read-all", "scope-public-recursive"]
[[set]]
identifier = "allow-public-write-recursive"
description = "This allows full recursive write access to the complete `$PUBLIC` folder, files and subdirectories."
permissions = [
"write-all",
"scope-public-recursive"
]
permissions = ["write-all", "scope-public-recursive"]
[[set]]
identifier = "allow-public-read"
description = "This allows non-recursive read access to the `$PUBLIC` folder."
permissions = [
"read-all",
"scope-public"
]
permissions = ["read-all", "scope-public"]
[[set]]
identifier = "allow-public-write"
description = "This allows non-recursive write access to the `$PUBLIC` folder."
permissions = [
"write-all",
"scope-public"
]
permissions = ["write-all", "scope-public"]
[[set]]
identifier = "allow-public-meta-recursive"
description = "This allows full recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-public-recursive"
]
permissions = ["read-meta", "scope-public-recursive"]
[[set]]
identifier = "allow-public-meta"
description = "This allows non-recursive read access to metadata of the `$PUBLIC` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-public-index"
]
permissions = ["read-meta", "scope-public-index"]
@@ -36,47 +36,29 @@ path = "$RESOURCE"
[[set]]
identifier = "allow-resource-read-recursive"
description = "This allows full recursive read access to the complete `$RESOURCE` folder, files and subdirectories."
permissions = [
"read-all",
"scope-resource-recursive"
]
permissions = ["read-all", "scope-resource-recursive"]
[[set]]
identifier = "allow-resource-write-recursive"
description = "This allows full recursive write access to the complete `$RESOURCE` folder, files and subdirectories."
permissions = [
"write-all",
"scope-resource-recursive"
]
permissions = ["write-all", "scope-resource-recursive"]
[[set]]
identifier = "allow-resource-read"
description = "This allows non-recursive read access to the `$RESOURCE` folder."
permissions = [
"read-all",
"scope-resource"
]
permissions = ["read-all", "scope-resource"]
[[set]]
identifier = "allow-resource-write"
description = "This allows non-recursive write access to the `$RESOURCE` folder."
permissions = [
"write-all",
"scope-resource"
]
permissions = ["write-all", "scope-resource"]
[[set]]
identifier = "allow-resource-meta-recursive"
description = "This allows full recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-resource-recursive"
]
permissions = ["read-meta", "scope-resource-recursive"]
[[set]]
identifier = "allow-resource-meta"
description = "This allows non-recursive read access to metadata of the `$RESOURCE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-resource-index"
]
permissions = ["read-meta", "scope-resource-index"]
@@ -36,47 +36,29 @@ path = "$RUNTIME"
[[set]]
identifier = "allow-runtime-read-recursive"
description = "This allows full recursive read access to the complete `$RUNTIME` folder, files and subdirectories."
permissions = [
"read-all",
"scope-runtime-recursive"
]
permissions = ["read-all", "scope-runtime-recursive"]
[[set]]
identifier = "allow-runtime-write-recursive"
description = "This allows full recursive write access to the complete `$RUNTIME` folder, files and subdirectories."
permissions = [
"write-all",
"scope-runtime-recursive"
]
permissions = ["write-all", "scope-runtime-recursive"]
[[set]]
identifier = "allow-runtime-read"
description = "This allows non-recursive read access to the `$RUNTIME` folder."
permissions = [
"read-all",
"scope-runtime"
]
permissions = ["read-all", "scope-runtime"]
[[set]]
identifier = "allow-runtime-write"
description = "This allows non-recursive write access to the `$RUNTIME` folder."
permissions = [
"write-all",
"scope-runtime"
]
permissions = ["write-all", "scope-runtime"]
[[set]]
identifier = "allow-runtime-meta-recursive"
description = "This allows full recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-runtime-recursive"
]
permissions = ["read-meta", "scope-runtime-recursive"]
[[set]]
identifier = "allow-runtime-meta"
description = "This allows non-recursive read access to metadata of the `$RUNTIME` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-runtime-index"
]
permissions = ["read-meta", "scope-runtime-index"]
@@ -36,47 +36,29 @@ path = "$TEMP"
[[set]]
identifier = "allow-temp-read-recursive"
description = "This allows full recursive read access to the complete `$TEMP` folder, files and subdirectories."
permissions = [
"read-all",
"scope-temp-recursive"
]
permissions = ["read-all", "scope-temp-recursive"]
[[set]]
identifier = "allow-temp-write-recursive"
description = "This allows full recursive write access to the complete `$TEMP` folder, files and subdirectories."
permissions = [
"write-all",
"scope-temp-recursive"
]
permissions = ["write-all", "scope-temp-recursive"]
[[set]]
identifier = "allow-temp-read"
description = "This allows non-recursive read access to the `$TEMP` folder."
permissions = [
"read-all",
"scope-temp"
]
permissions = ["read-all", "scope-temp"]
[[set]]
identifier = "allow-temp-write"
description = "This allows non-recursive write access to the `$TEMP` folder."
permissions = [
"write-all",
"scope-temp"
]
permissions = ["write-all", "scope-temp"]
[[set]]
identifier = "allow-temp-meta-recursive"
description = "This allows full recursive read access to metadata of the `$TEMP` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-temp-recursive"
]
permissions = ["read-meta", "scope-temp-recursive"]
[[set]]
identifier = "allow-temp-meta"
description = "This allows non-recursive read access to metadata of the `$TEMP` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-temp-index"
]
permissions = ["read-meta", "scope-temp-index"]
@@ -36,47 +36,29 @@ path = "$TEMPLATE"
[[set]]
identifier = "allow-template-read-recursive"
description = "This allows full recursive read access to the complete `$TEMPLATE` folder, files and subdirectories."
permissions = [
"read-all",
"scope-template-recursive"
]
permissions = ["read-all", "scope-template-recursive"]
[[set]]
identifier = "allow-template-write-recursive"
description = "This allows full recursive write access to the complete `$TEMPLATE` folder, files and subdirectories."
permissions = [
"write-all",
"scope-template-recursive"
]
permissions = ["write-all", "scope-template-recursive"]
[[set]]
identifier = "allow-template-read"
description = "This allows non-recursive read access to the `$TEMPLATE` folder."
permissions = [
"read-all",
"scope-template"
]
permissions = ["read-all", "scope-template"]
[[set]]
identifier = "allow-template-write"
description = "This allows non-recursive write access to the `$TEMPLATE` folder."
permissions = [
"write-all",
"scope-template"
]
permissions = ["write-all", "scope-template"]
[[set]]
identifier = "allow-template-meta-recursive"
description = "This allows full recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-template-recursive"
]
permissions = ["read-meta", "scope-template-recursive"]
[[set]]
identifier = "allow-template-meta"
description = "This allows non-recursive read access to metadata of the `$TEMPLATE` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-template-index"
]
permissions = ["read-meta", "scope-template-index"]
@@ -36,47 +36,29 @@ path = "$VIDEO"
[[set]]
identifier = "allow-video-read-recursive"
description = "This allows full recursive read access to the complete `$VIDEO` folder, files and subdirectories."
permissions = [
"read-all",
"scope-video-recursive"
]
permissions = ["read-all", "scope-video-recursive"]
[[set]]
identifier = "allow-video-write-recursive"
description = "This allows full recursive write access to the complete `$VIDEO` folder, files and subdirectories."
permissions = [
"write-all",
"scope-video-recursive"
]
permissions = ["write-all", "scope-video-recursive"]
[[set]]
identifier = "allow-video-read"
description = "This allows non-recursive read access to the `$VIDEO` folder."
permissions = [
"read-all",
"scope-video"
]
permissions = ["read-all", "scope-video"]
[[set]]
identifier = "allow-video-write"
description = "This allows non-recursive write access to the `$VIDEO` folder."
permissions = [
"write-all",
"scope-video"
]
permissions = ["write-all", "scope-video"]
[[set]]
identifier = "allow-video-meta-recursive"
description = "This allows full recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-video-recursive"
]
permissions = ["read-meta", "scope-video-recursive"]
[[set]]
identifier = "allow-video-meta"
description = "This allows non-recursive read access to metadata of the `$VIDEO` folder, including file listing and statistics."
permissions = [
"read-meta",
"scope-video-index"
]
permissions = ["read-meta", "scope-video-index"]
@@ -7,10 +7,7 @@ identifier = "allow-read-text-file-lines"
description = "Enables the read_text_file_lines command without any pre-configured scope."
[permission.commands]
allow = [
"read_text_file_lines",
"read_text_file_lines_next",
]
allow = ["read_text_file_lines", "read_text_file_lines_next"]
deny = []
[[permission]]
@@ -7,11 +7,7 @@ identifier = "allow-write-file"
description = "Enables the write_file command without any pre-configured scope."
[permission.commands]
allow = [
"write_file",
"open",
"write",
]
allow = ["write_file", "open", "write"]
deny = []
[[permission]]
+5 -1
View File
@@ -33,7 +33,11 @@ log = { workspace = true }
thiserror = { workspace = true }
# When updating to v4 we likely won't use linux-native aka keyutils but we need to look into which backend to use.
# Also, `linux-native` is non persistent.
keyring = { version = "3.6", features = ["apple-native", "windows-native", "linux-native"]}
keyring = { version = "3.6", features = [
"apple-native",
"windows-native",
"linux-native",
] }
[target."cfg(target_os = \"android\")".dependencies]
android-keyring = "0.2.0"
+1 -1
View File
@@ -1 +1 @@
if("__TAURI__"in window){var __TAURI_PLUGIN_SECURE_STORAGE__=function(e){"use strict";async function n(e,n={},r){return window.__TAURI_INTERNALS__.invoke(e,n,r)}return"function"==typeof SuppressedError&&SuppressedError,e.getBinary=async function(e){return n("plugin:secure-storage|set_string",{key:e})},e.getString=async function(e){return n("plugin:secure-storage|get_string",{key:e})},e.setBinary=async function(e,r){return n("plugin:secure-storage|set_binary",{key:e,value:r})},e.setString=async function(e,r){return n("plugin:secure-storage|set_string",{key:e,value:r})},e}({});Object.defineProperty(window.__TAURI__,"secureStorage",{value:__TAURI_PLUGIN_SECURE_STORAGE__})}
if("__TAURI__"in window){var __TAURI_PLUGIN_SECURE_STORAGE__=function(e){"use strict";async function n(e,n={},r){return window.__TAURI_INTERNALS__.invoke(e,n,r)}return"function"==typeof SuppressedError&&SuppressedError,e.getBinary=async function(e){return await n("plugin:secure-storage|set_string",{key:e})},e.getString=async function(e){return await n("plugin:secure-storage|get_string",{key:e})},e.setBinary=async function(e,r){return await n("plugin:secure-storage|set_binary",{key:e,value:r})},e.setString=async function(e,r){return await n("plugin:secure-storage|set_string",{key:e,value:r})},e}({});Object.defineProperty(window.__TAURI__,"secureStorage",{value:__TAURI_PLUGIN_SECURE_STORAGE__})}