plugin:yaak-models|upsert PoC

This commit is contained in:
Gregory Schier
2025-03-26 09:54:42 -07:00
parent b7f62b78b1
commit 17657a4d04
31 changed files with 255 additions and 408 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"main":{"identifier":"main","description":"Main permissions","local":true,"windows":["*"],"permissions":["core:event:allow-emit","core:event:allow-listen","core:event:allow-unlisten","os:allow-os-type","clipboard-manager:allow-clear","clipboard-manager:allow-write-text","clipboard-manager:allow-read-text","dialog:allow-open","dialog:allow-save","fs:allow-read-dir","fs:allow-read-file","fs:allow-read-text-file",{"identifier":"fs:scope","allow":[{"path":"$APPDATA"},{"path":"$APPDATA/**"}]},"clipboard-manager:allow-read-text","clipboard-manager:allow-write-text","core:webview:allow-set-webview-zoom","core:window:allow-close","core:window:allow-internal-toggle-maximize","core:window:allow-is-fullscreen","core:window:allow-is-maximized","core:window:allow-maximize","core:window:allow-minimize","core:window:allow-set-decorations","core:window:allow-set-title","core:window:allow-show","core:window:allow-start-dragging","core:window:allow-theme","core:window:allow-unmaximize","opener:allow-default-urls","opener:allow-open-path","opener:allow-open-url","opener:allow-reveal-item-in-dir","shell:allow-open","yaak-license:default","yaak-git:default","yaak-sync:default","yaak-ws:default"]}}
{"main":{"identifier":"main","description":"Main permissions","local":true,"windows":["*"],"permissions":["core:event:allow-emit","core:event:allow-listen","core:event:allow-unlisten","os:allow-os-type","clipboard-manager:allow-clear","clipboard-manager:allow-write-text","clipboard-manager:allow-read-text","dialog:allow-open","dialog:allow-save","fs:allow-read-dir","fs:allow-read-file","fs:allow-read-text-file",{"identifier":"fs:scope","allow":[{"path":"$APPDATA"},{"path":"$APPDATA/**"}]},"clipboard-manager:allow-read-text","clipboard-manager:allow-write-text","core:webview:allow-set-webview-zoom","core:window:allow-close","core:window:allow-internal-toggle-maximize","core:window:allow-is-fullscreen","core:window:allow-is-maximized","core:window:allow-maximize","core:window:allow-minimize","core:window:allow-set-decorations","core:window:allow-set-title","core:window:allow-show","core:window:allow-start-dragging","core:window:allow-theme","core:window:allow-unmaximize","opener:allow-default-urls","opener:allow-open-path","opener:allow-open-url","opener:allow-reveal-item-in-dir","shell:allow-open","yaak-git:default","yaak-license:default","yaak-models:default","yaak-sync:default","yaak-ws:default"]}}

View File

@@ -5642,41 +5642,21 @@
"type": "string",
"const": "yaak-models:allow-delete"
},
{
"description": "Enables the delete_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:allow-delete-model"
},
{
"description": "Enables the upsert command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:allow-upsert"
},
{
"description": "Enables the upsert_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:allow-upsert-model"
},
{
"description": "Denies the delete command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-delete"
},
{
"description": "Denies the delete_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-delete-model"
},
{
"description": "Denies the upsert command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-upsert"
},
{
"description": "Denies the upsert_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-upsert-model"
},
{
"description": "Default permissions for the plugin",
"type": "string",

View File

@@ -5642,41 +5642,21 @@
"type": "string",
"const": "yaak-models:allow-delete"
},
{
"description": "Enables the delete_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:allow-delete-model"
},
{
"description": "Enables the upsert command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:allow-upsert"
},
{
"description": "Enables the upsert_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:allow-upsert-model"
},
{
"description": "Denies the delete command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-delete"
},
{
"description": "Denies the delete_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-delete-model"
},
{
"description": "Denies the upsert command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-upsert"
},
{
"description": "Denies the upsert_model command without any pre-configured scope.",
"type": "string",
"const": "yaak-models:deny-upsert-model"
},
{
"description": "Default permissions for the plugin",
"type": "string",