Generalized frontend model store (#193)

This commit is contained in:
Gregory Schier
2025-03-31 11:56:17 -07:00
committed by GitHub
parent ce885c3551
commit f1757ae427
201 changed files with 2185 additions and 2865 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -2,8 +2,13 @@
Default permissions for the plugin
- `allow-upsert`
- `allow-delete`
- `allow-duplicate`
- `allow-get-settings`
- `allow-grpc-events`
- `allow-upsert`
- `allow-websocket-events`
- `allow-workspace-models`
## Permission Table
@@ -43,6 +48,84 @@ Denies the delete command without any pre-configured scope.
<tr>
<td>
`yaak-models:allow-duplicate`
</td>
<td>
Enables the duplicate command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-duplicate`
</td>
<td>
Denies the duplicate command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:allow-get-settings`
</td>
<td>
Enables the get_settings command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-get-settings`
</td>
<td>
Denies the get_settings command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:allow-grpc-events`
</td>
<td>
Enables the grpc_events command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-grpc-events`
</td>
<td>
Denies the grpc_events command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:allow-upsert`
</td>
@@ -63,6 +146,58 @@ 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-websocket-events`
</td>
<td>
Enables the websocket_events command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-websocket-events`
</td>
<td>
Denies the websocket_events command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:allow-workspace-models`
</td>
<td>
Enables the workspace_models command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-models:deny-workspace-models`
</td>
<td>
Denies the workspace_models command without any pre-configured scope.
</td>
</tr>
</table>

View File

@@ -1,6 +1,11 @@
[default]
description = "Default permissions for the plugin"
permissions = [
"allow-upsert",
"allow-delete",
"allow-duplicate",
"allow-get-settings",
"allow-grpc-events",
"allow-upsert",
"allow-websocket-events",
"allow-workspace-models",
]

View File

@@ -304,6 +304,36 @@
"type": "string",
"const": "deny-delete"
},
{
"description": "Enables the duplicate command without any pre-configured scope.",
"type": "string",
"const": "allow-duplicate"
},
{
"description": "Denies the duplicate command without any pre-configured scope.",
"type": "string",
"const": "deny-duplicate"
},
{
"description": "Enables the get_settings command without any pre-configured scope.",
"type": "string",
"const": "allow-get-settings"
},
{
"description": "Denies the get_settings command without any pre-configured scope.",
"type": "string",
"const": "deny-get-settings"
},
{
"description": "Enables the grpc_events command without any pre-configured scope.",
"type": "string",
"const": "allow-grpc-events"
},
{
"description": "Denies the grpc_events command without any pre-configured scope.",
"type": "string",
"const": "deny-grpc-events"
},
{
"description": "Enables the upsert command without any pre-configured scope.",
"type": "string",
@@ -314,6 +344,26 @@
"type": "string",
"const": "deny-upsert"
},
{
"description": "Enables the websocket_events command without any pre-configured scope.",
"type": "string",
"const": "allow-websocket-events"
},
{
"description": "Denies the websocket_events command without any pre-configured scope.",
"type": "string",
"const": "deny-websocket-events"
},
{
"description": "Enables the workspace_models command without any pre-configured scope.",
"type": "string",
"const": "allow-workspace-models"
},
{
"description": "Denies the workspace_models command without any pre-configured scope.",
"type": "string",
"const": "deny-workspace-models"
},
{
"description": "Default permissions for the plugin",
"type": "string",