feat: add permissions

This commit is contained in:
2025-10-21 17:37:06 +02:00
parent 0d4ec3c415
commit fe266196f9
4 changed files with 27 additions and 14 deletions

View File

@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-duck"
description = "Enables the duck command without any pre-configured scope."
commands.allow = ["duck"]
[[permission]]
identifier = "deny-duck"
description = "Denies the duck command without any pre-configured scope."
commands.deny = ["duck"]

View File

@ -1,13 +0,0 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-ping"
description = "Enables the ping command without any pre-configured scope."
commands.allow = ["ping"]
[[permission]]
identifier = "deny-ping"
description = "Denies the ping command without any pre-configured scope."
commands.deny = ["ping"]

View File

@ -0,0 +1,13 @@
# Automatically generated - DO NOT EDIT!
"$schema" = "../../schemas/schema.json"
[[permission]]
identifier = "allow-unduck"
description = "Enables the unduck command without any pre-configured scope."
commands.allow = ["unduck"]
[[permission]]
identifier = "deny-unduck"
description = "Denies the unduck command without any pre-configured scope."
commands.deny = ["unduck"]

View File

@ -1,3 +1,3 @@
[default]
description = "Default permissions for the plugin"
permissions = ["allow-ping"]
permissions = ["allow-duck", "allow-unduck"]