Websocket Support (#159)

This commit is contained in:
Gregory Schier
2025-01-31 09:00:11 -08:00
committed by GitHub
parent d411713502
commit c8be8082c5
122 changed files with 5090 additions and 616 deletions
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-cancel"
description = "Enables the cancel command without any pre-configured scope."
commands.allow = ["cancel"]
[[permission]]
identifier = "deny-cancel"
description = "Denies the cancel command without any pre-configured scope."
commands.deny = ["cancel"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-close"
description = "Enables the close command without any pre-configured scope."
commands.allow = ["close"]
[[permission]]
identifier = "deny-close"
description = "Denies the close command without any pre-configured scope."
commands.deny = ["close"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-connect"
description = "Enables the connect command without any pre-configured scope."
commands.allow = ["connect"]
[[permission]]
identifier = "deny-connect"
description = "Denies the connect command without any pre-configured scope."
commands.deny = ["connect"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-delete-connection"
description = "Enables the delete_connection command without any pre-configured scope."
commands.allow = ["delete_connection"]
[[permission]]
identifier = "deny-delete-connection"
description = "Denies the delete_connection command without any pre-configured scope."
commands.deny = ["delete_connection"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-delete-connections"
description = "Enables the delete_connections command without any pre-configured scope."
commands.allow = ["delete_connections"]
[[permission]]
identifier = "deny-delete-connections"
description = "Denies the delete_connections command without any pre-configured scope."
commands.deny = ["delete_connections"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-delete-request"
description = "Enables the delete_request command without any pre-configured scope."
commands.allow = ["delete_request"]
[[permission]]
identifier = "deny-delete-request"
description = "Denies the delete_request command without any pre-configured scope."
commands.deny = ["delete_request"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-list-connections"
description = "Enables the list_connections command without any pre-configured scope."
commands.allow = ["list_connections"]
[[permission]]
identifier = "deny-list-connections"
description = "Denies the list_connections command without any pre-configured scope."
commands.deny = ["list_connections"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-list-events"
description = "Enables the list_events command without any pre-configured scope."
commands.allow = ["list_events"]
[[permission]]
identifier = "deny-list-events"
description = "Denies the list_events command without any pre-configured scope."
commands.deny = ["list_events"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-list-requests"
description = "Enables the list_requests command without any pre-configured scope."
commands.allow = ["list_requests"]
[[permission]]
identifier = "deny-list-requests"
description = "Denies the list_requests command without any pre-configured scope."
commands.deny = ["list_requests"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-list-websocket-connections"
description = "Enables the list_websocket_connections command without any pre-configured scope."
commands.allow = ["list_websocket_connections"]
[[permission]]
identifier = "deny-list-websocket-connections"
description = "Denies the list_websocket_connections command without any pre-configured scope."
commands.deny = ["list_websocket_connections"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-list-websocket-requests"
description = "Enables the list_websocket_requests command without any pre-configured scope."
commands.allow = ["list_websocket_requests"]
[[permission]]
identifier = "deny-list-websocket-requests"
description = "Denies the list_websocket_requests command without any pre-configured scope."
commands.deny = ["list_websocket_requests"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-send"
description = "Enables the send command without any pre-configured scope."
commands.allow = ["send"]
[[permission]]
identifier = "deny-send"
description = "Denies the send command without any pre-configured scope."
commands.deny = ["send"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-upsert-request"
description = "Enables the upsert_request command without any pre-configured scope."
commands.allow = ["upsert_request"]
[[permission]]
identifier = "deny-upsert-request"
description = "Denies the upsert_request command without any pre-configured scope."
commands.deny = ["upsert_request"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-upsert-websocket-request"
description = "Enables the upsert_websocket_request command without any pre-configured scope."
commands.allow = ["upsert_websocket_request"]
[[permission]]
identifier = "deny-upsert-websocket-request"
description = "Denies the upsert_websocket_request command without any pre-configured scope."
commands.deny = ["upsert_websocket_request"]
@@ -0,0 +1,388 @@
## Default Permission
Default permissions for the plugin
- `allow-close`
- `allow-connect`
- `allow-delete-connection`
- `allow-delete-connections`
- `allow-delete-request`
- `allow-list-connections`
- `allow-list-events`
- `allow-list-requests`
- `allow-send`
- `allow-upsert-request`
## Permission Table
<table>
<tr>
<th>Identifier</th>
<th>Description</th>
</tr>
<tr>
<td>
`yaak-ws:allow-cancel`
</td>
<td>
Enables the cancel command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-cancel`
</td>
<td>
Denies the cancel command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-close`
</td>
<td>
Enables the close command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-close`
</td>
<td>
Denies the close command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-connect`
</td>
<td>
Enables the connect command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-connect`
</td>
<td>
Denies the connect command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-delete-connection`
</td>
<td>
Enables the delete_connection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-delete-connection`
</td>
<td>
Denies the delete_connection command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-delete-connections`
</td>
<td>
Enables the delete_connections command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-delete-connections`
</td>
<td>
Denies the delete_connections command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-delete-request`
</td>
<td>
Enables the delete_request command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-delete-request`
</td>
<td>
Denies the delete_request command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-list-connections`
</td>
<td>
Enables the list_connections command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-list-connections`
</td>
<td>
Denies the list_connections command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-list-events`
</td>
<td>
Enables the list_events command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-list-events`
</td>
<td>
Denies the list_events command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-list-requests`
</td>
<td>
Enables the list_requests command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-list-requests`
</td>
<td>
Denies the list_requests command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-list-websocket-connections`
</td>
<td>
Enables the list_websocket_connections command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-list-websocket-connections`
</td>
<td>
Denies the list_websocket_connections command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-list-websocket-requests`
</td>
<td>
Enables the list_websocket_requests command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-list-websocket-requests`
</td>
<td>
Denies the list_websocket_requests command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-send`
</td>
<td>
Enables the send command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-send`
</td>
<td>
Denies the send command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-upsert-request`
</td>
<td>
Enables the upsert_request command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-upsert-request`
</td>
<td>
Denies the upsert_request command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:allow-upsert-websocket-request`
</td>
<td>
Enables the upsert_websocket_request command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`yaak-ws:deny-upsert-websocket-request`
</td>
<td>
Denies the upsert_websocket_request command without any pre-configured scope.
</td>
</tr>
</table>