Fix js get and close store

This commit is contained in:
Tony
2024-10-03 20:10:15 +08:00
parent 718f5dc90d
commit 4f13a03401
13 changed files with 171 additions and 22 deletions
@@ -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-close-store"
description = "Enables the close_store command without any pre-configured scope."
commands.allow = ["close_store"]
[[permission]]
identifier = "deny-close-store"
description = "Denies the close_store command without any pre-configured scope."
commands.deny = ["close_store"]
@@ -11,6 +11,7 @@ All operations are enabled by default.
- `allow-create-store`
- `allow-get-store`
- `allow-close-store`
- `allow-clear`
- `allow-delete`
- `allow-entries`
@@ -62,6 +63,58 @@ Denies the clear command without any pre-configured scope.
<tr>
<td>
`store:allow-close`
</td>
<td>
Enables the close command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:deny-close`
</td>
<td>
Denies the close command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:allow-close-store`
</td>
<td>
Enables the close_store command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:deny-close-store`
</td>
<td>
Denies the close_store command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:allow-create-store`
</td>
+1
View File
@@ -13,6 +13,7 @@ All operations are enabled by default.
permissions = [
"allow-create-store",
"allow-get-store",
"allow-close-store",
"allow-clear",
"allow-delete",
"allow-entries",
@@ -304,6 +304,26 @@
"type": "string",
"const": "deny-clear"
},
{
"description": "Enables the close command without any pre-configured scope.",
"type": "string",
"const": "allow-close"
},
{
"description": "Denies the close command without any pre-configured scope.",
"type": "string",
"const": "deny-close"
},
{
"description": "Enables the close_store command without any pre-configured scope.",
"type": "string",
"const": "allow-close-store"
},
{
"description": "Denies the close_store command without any pre-configured scope.",
"type": "string",
"const": "deny-close-store"
},
{
"description": "Enables the create_store command without any pre-configured scope.",
"type": "string",