rename createOrLoad to newOrExisting

This commit is contained in:
Lucas Nogueira
2024-10-15 10:22:55 -03:00
parent 028d6661ca
commit 8a8bdcac23
10 changed files with 77 additions and 77 deletions
@@ -1,13 +0,0 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-create-or-load"
description = "Enables the create_or_load command without any pre-configured scope."
commands.allow = ["create_or_load"]
[[permission]]
identifier = "deny-create-or-load"
description = "Denies the create_or_load command without any pre-configured scope."
commands.deny = ["create_or_load"]
@@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-new-or-existing"
description = "Enables the new_or_existing command without any pre-configured scope."
commands.allow = ["new_or_existing"]
[[permission]]
identifier = "deny-new-or-existing"
description = "Denies the new_or_existing command without any pre-configured scope."
commands.deny = ["new_or_existing"]
@@ -10,7 +10,7 @@ All operations are enabled by default.
- `allow-create-store`
- `allow-create-or-load`
- `allow-new-or-existing`
- `allow-get-store`
- `allow-close-store`
- `allow-set`
@@ -90,32 +90,6 @@ Denies the close_store command without any pre-configured scope.
<tr>
<td>
`store:allow-create-or-load`
</td>
<td>
Enables the create_or_load command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:deny-create-or-load`
</td>
<td>
Denies the create_or_load command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:allow-create-store`
</td>
@@ -350,6 +324,32 @@ Denies the load command without any pre-configured scope.
<tr>
<td>
`store:allow-new-or-existing`
</td>
<td>
Enables the new_or_existing command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:deny-new-or-existing`
</td>
<td>
Denies the new_or_existing command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`store:allow-reset`
</td>
+1 -1
View File
@@ -12,7 +12,7 @@ All operations are enabled by default.
"""
permissions = [
"allow-create-store",
"allow-create-or-load",
"allow-new-or-existing",
"allow-get-store",
"allow-close-store",
"allow-set",
+10 -10
View File
@@ -314,16 +314,6 @@
"type": "string",
"const": "deny-close-store"
},
{
"description": "Enables the create_or_load command without any pre-configured scope.",
"type": "string",
"const": "allow-create-or-load"
},
{
"description": "Denies the create_or_load command without any pre-configured scope.",
"type": "string",
"const": "deny-create-or-load"
},
{
"description": "Enables the create_store command without any pre-configured scope.",
"type": "string",
@@ -414,6 +404,16 @@
"type": "string",
"const": "deny-load"
},
{
"description": "Enables the new_or_existing command without any pre-configured scope.",
"type": "string",
"const": "allow-new-or-existing"
},
{
"description": "Denies the new_or_existing command without any pre-configured scope.",
"type": "string",
"const": "deny-new-or-existing"
},
{
"description": "Enables the reset command without any pre-configured scope.",
"type": "string",