mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-19 19:17:15 +02:00
Add create or existing
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user