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

View File

@@ -1,13 +0,0 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-delete-model"
description = "Enables the delete_model command without any pre-configured scope."
commands.allow = ["delete_model"]
[[permission]]
identifier = "deny-delete-model"
description = "Denies the delete_model command without any pre-configured scope."
commands.deny = ["delete_model"]

View File

@@ -1,13 +0,0 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-upsert-model"
description = "Enables the upsert_model command without any pre-configured scope."
commands.allow = ["upsert_model"]
[[permission]]
identifier = "deny-upsert-model"
description = "Denies the upsert_model command without any pre-configured scope."
commands.deny = ["upsert_model"]

View File

@@ -43,32 +43,6 @@ Denies the delete command without any pre-configured scope.
<tr>
<td>
`yaak-models:allow-delete-model`
</td>
<td>
Enables the delete_model command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-delete-model`
</td>
<td>
Denies the delete_model command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:allow-upsert`
</td>
@@ -89,32 +63,6 @@ Enables the upsert command without any pre-configured scope.
Denies the upsert command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:allow-upsert-model`
</td>
<td>
Enables the upsert_model command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-upsert-model`
</td>
<td>
Denies the upsert_model command without any pre-configured scope.
</td>
</tr>
</table>

View File

@@ -304,16 +304,6 @@
"type": "string",
"const": "deny-delete"
},
{
"description": "Enables the delete_model command without any pre-configured scope.",
"type": "string",
"const": "allow-delete-model"
},
{
"description": "Denies the delete_model command without any pre-configured scope.",
"type": "string",
"const": "deny-delete-model"
},
{
"description": "Enables the upsert command without any pre-configured scope.",
"type": "string",
@@ -324,16 +314,6 @@
"type": "string",
"const": "deny-upsert"
},
{
"description": "Enables the upsert_model command without any pre-configured scope.",
"type": "string",
"const": "allow-upsert-model"
},
{
"description": "Denies the upsert_model command without any pre-configured scope.",
"type": "string",
"const": "deny-upsert-model"
},
{
"description": "Default permissions for the plugin",
"type": "string",