mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-11 12:37:34 +02:00
rename createOrLoad to newOrExisting
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user