mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 17:18:32 +02:00
Add ability to deactivate license
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-deactivate"
|
||||
description = "Enables the deactivate command without any pre-configured scope."
|
||||
commands.allow = ["deactivate"]
|
||||
|
||||
[[permission]]
|
||||
identifier = "deny-deactivate"
|
||||
description = "Denies the deactivate command without any pre-configured scope."
|
||||
commands.deny = ["deactivate"]
|
||||
@@ -4,6 +4,7 @@ Default permissions for the plugin
|
||||
|
||||
- `allow-check`
|
||||
- `allow-activate`
|
||||
- `allow-deactivate`
|
||||
|
||||
## Permission Table
|
||||
|
||||
@@ -63,6 +64,32 @@ Enables the check command without any pre-configured scope.
|
||||
|
||||
Denies the check command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`yaak-license:allow-deactivate`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the deactivate command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`yaak-license:deny-deactivate`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Denies the deactivate command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[default]
|
||||
description = "Default permissions for the plugin"
|
||||
permissions = ["allow-check", "allow-activate"]
|
||||
permissions = ["allow-check", "allow-activate", "allow-deactivate"]
|
||||
|
||||
@@ -314,6 +314,16 @@
|
||||
"type": "string",
|
||||
"const": "deny-check"
|
||||
},
|
||||
{
|
||||
"description": "Enables the deactivate command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "allow-deactivate"
|
||||
},
|
||||
{
|
||||
"description": "Denies the deactivate command without any pre-configured scope.",
|
||||
"type": "string",
|
||||
"const": "deny-deactivate"
|
||||
},
|
||||
{
|
||||
"description": "Default permissions for the plugin",
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user