feat: add permissions
This commit is contained in:
13
permissions/autogenerated/commands/duck.toml
Normal file
13
permissions/autogenerated/commands/duck.toml
Normal 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"]
|
||||
@ -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"]
|
||||
13
permissions/autogenerated/commands/unduck.toml
Normal file
13
permissions/autogenerated/commands/unduck.toml
Normal 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"]
|
||||
@ -1,3 +1,3 @@
|
||||
[default]
|
||||
description = "Default permissions for the plugin"
|
||||
permissions = ["allow-ping"]
|
||||
permissions = ["allow-duck", "allow-unduck"]
|
||||
|
||||
Reference in New Issue
Block a user