Add create or existing

This commit is contained in:
Tony
2024-10-05 16:21:27 +08:00
parent 7faf8c31e0
commit dc5be009b7
9 changed files with 193 additions and 21 deletions
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-create-or-existing-store"
description = "Enables the create_or_existing_store command without any pre-configured scope."
commands.allow = ["create_or_existing_store"]
[[permission]]
identifier = "deny-create-or-existing-store"
description = "Denies the create_or_existing_store command without any pre-configured scope."
commands.deny = ["create_or_existing_store"]
@@ -89,6 +89,32 @@ Denies the close_store command without any pre-configured scope.
<tr>
<td>
`store:allow-create-or-existing-store`
</td>
<td>
Enables the create_or_existing_store command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:deny-create-or-existing-store`
</td>
<td>
Denies the create_or_existing_store command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:allow-create-store`
</td>
+1
View File
@@ -12,6 +12,7 @@ All operations are enabled by default.
"""
permissions = [
"allow-create-store",
"allow-create-or-existing-store",
"allow-get-store",
"allow-close-store",
"allow-clear",
@@ -314,6 +314,16 @@
"type": "string",
"const": "deny-close-store"
},
{
"description": "Enables the create_or_existing_store command without any pre-configured scope.",
"type": "string",
"const": "allow-create-or-existing-store"
},
{
"description": "Denies the create_or_existing_store command without any pre-configured scope.",
"type": "string",
"const": "deny-create-or-existing-store"
},
{
"description": "Enables the create_store command without any pre-configured scope.",
"type": "string",