Revert "remove close_store command since we extend from Resource"

This reverts commit 4a29fc8990.
This commit is contained in:
Lucas Nogueira
2024-10-17 07:38:18 -03:00
parent 4a29fc8990
commit 70a1830e7d
8 changed files with 78 additions and 3 deletions
@@ -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-load`
- `allow-get-store`
- `allow-close-store`
- `allow-set`
- `allow-get`
- `allow-has`
@@ -62,6 +63,32 @@ Denies the clear command without any pre-configured scope.
<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-delete`
</td>
+1
View File
@@ -13,6 +13,7 @@ All operations are enabled by default.
permissions = [
"allow-load",
"allow-get-store",
"allow-close-store",
"allow-set",
"allow-get",
"allow-has",
@@ -304,6 +304,16 @@
"type": "string",
"const": "deny-clear"
},
{
"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 delete command without any pre-configured scope.",
"type": "string",