Database access refactor (#190)

This commit is contained in:
Gregory Schier
2025-03-25 08:35:10 -07:00
committed by GitHub
parent 445c30f3a9
commit 1d37d46130
72 changed files with 4895 additions and 4702 deletions
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-delete"
description = "Enables the delete command without any pre-configured scope."
commands.allow = ["delete"]
[[permission]]
identifier = "deny-delete"
description = "Denies the delete command without any pre-configured scope."
commands.deny = ["delete"]
@@ -0,0 +1,13 @@
# 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"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-upsert"
description = "Enables the upsert command without any pre-configured scope."
commands.allow = ["upsert"]
[[permission]]
identifier = "deny-upsert"
description = "Denies the upsert command without any pre-configured scope."
commands.deny = ["upsert"]
@@ -0,0 +1,13 @@
# 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"]
@@ -0,0 +1,120 @@
## Default Permission
Default permissions for the plugin
- `allow-upsert`
- `allow-delete`
## Permission Table
<table>
<tr>
<th>Identifier</th>
<th>Description</th>
</tr>
<tr>
<td>
`yaak-models:allow-delete`
</td>
<td>
Enables the delete command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-delete`
</td>
<td>
Denies the delete command without any pre-configured scope.
</td>
</tr>
<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>
<td>
Enables the upsert command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-upsert`
</td>
<td>
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>