Add get-or-create-store

This commit is contained in:
Tony
2024-10-03 13:34:38 +08:00
parent 17d910b381
commit 7ffd769240
7 changed files with 96 additions and 3 deletions
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-get-or-create-store"
description = "Enables the get_or_create_store command without any pre-configured scope."
commands.allow = ["get_or_create_store"]
[[permission]]
identifier = "deny-get-or-create-store"
description = "Denies the get_or_create_store command without any pre-configured scope."
commands.deny = ["get_or_create_store"]
@@ -165,6 +165,32 @@ Denies the get command without any pre-configured scope.
<tr>
<td>
`store:allow-get-or-create-store`
</td>
<td>
Enables the get_or_create_store command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:deny-get-or-create-store`
</td>
<td>
Denies the get_or_create_store command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:allow-get-store`
</td>
+2
View File
@@ -12,6 +12,8 @@ All operations are enabled by default.
"""
permissions = [
"allow-create-store",
"allow-get-store",
"allow-get-or-create-store",
"allow-clear",
"allow-delete",
"allow-entries",
@@ -344,6 +344,16 @@
"type": "string",
"const": "deny-get"
},
{
"description": "Enables the get_or_create_store command without any pre-configured scope.",
"type": "string",
"const": "allow-get-or-create-store"
},
{
"description": "Denies the get_or_create_store command without any pre-configured scope.",
"type": "string",
"const": "deny-get-or-create-store"
},
{
"description": "Enables the get_store command without any pre-configured scope.",
"type": "string",