From fb37911f5e3f9e3142c690857bc580201de81f6e Mon Sep 17 00:00:00 2001 From: CRT Date: Fri, 23 Oct 2026 11:15:40 +0800 Subject: [PATCH] Desktop: generated permissions of the tray card commands --- .../permissions/autogenerated/card_action.toml | 11 +++++++++++ .../src-tauri/permissions/autogenerated/card_get.toml | 11 +++++++++++ .../permissions/autogenerated/card_snapshot.toml | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 apps/desktop/src-tauri/permissions/autogenerated/card_action.toml create mode 100644 apps/desktop/src-tauri/permissions/autogenerated/card_get.toml create mode 100644 apps/desktop/src-tauri/permissions/autogenerated/card_snapshot.toml diff --git a/apps/desktop/src-tauri/permissions/autogenerated/card_action.toml b/apps/desktop/src-tauri/permissions/autogenerated/card_action.toml new file mode 100644 index 0000000..1d41f1c --- /dev/null +++ b/apps/desktop/src-tauri/permissions/autogenerated/card_action.toml @@ -0,0 +1,11 @@ +# Automatically generated - DO NOT EDIT! + +[[permission]] +identifier = "allow-card-action" +description = "Enables the card_action command without any pre-configured scope." +commands.allow = ["card_action"] + +[[permission]] +identifier = "deny-card-action" +description = "Denies the card_action command without any pre-configured scope." +commands.deny = ["card_action"] diff --git a/apps/desktop/src-tauri/permissions/autogenerated/card_get.toml b/apps/desktop/src-tauri/permissions/autogenerated/card_get.toml new file mode 100644 index 0000000..3be151c --- /dev/null +++ b/apps/desktop/src-tauri/permissions/autogenerated/card_get.toml @@ -0,0 +1,11 @@ +# Automatically generated - DO NOT EDIT! + +[[permission]] +identifier = "allow-card-get" +description = "Enables the card_get command without any pre-configured scope." +commands.allow = ["card_get"] + +[[permission]] +identifier = "deny-card-get" +description = "Denies the card_get command without any pre-configured scope." +commands.deny = ["card_get"] diff --git a/apps/desktop/src-tauri/permissions/autogenerated/card_snapshot.toml b/apps/desktop/src-tauri/permissions/autogenerated/card_snapshot.toml new file mode 100644 index 0000000..4118e9c --- /dev/null +++ b/apps/desktop/src-tauri/permissions/autogenerated/card_snapshot.toml @@ -0,0 +1,11 @@ +# Automatically generated - DO NOT EDIT! + +[[permission]] +identifier = "allow-card-snapshot" +description = "Enables the card_snapshot command without any pre-configured scope." +commands.allow = ["card_snapshot"] + +[[permission]] +identifier = "deny-card-snapshot" +description = "Denies the card_snapshot command without any pre-configured scope." +commands.deny = ["card_snapshot"]