[permissions] Clearing rules, doesn't allow command to be used #3037
Labels
Status: In Progress
There's a PR open to deal with this, or an org member is working on this internally
Type: Bug
Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Command bugs
Command name
clearglobalrules or clearserverrules after setting a default server or default global rule
What cog is this command from?
permissions
What were you expecting to happen?
After clearing the rules for the command to work as intended
What actually happened?
Command was still denied as if the permissions were in place
How can we reproduce this issue?
Deny a command with permissions such as ping with [p]permissions setdefaultglobalrule deny ping
Then clear the rules with clearglobalrules
Try and have a user use the denied command, after the permissions were cleared and it will still be blocked, after a bot restart it will become available.
Only seems to occur if you use setdefaultglobalrule or setdefaultserverrule when setting the permissions as a normal server or global rule clears and allows the command to work,
Might just want to send a message after clearing rules to reboot the bot, or there could be another way of handling the clearing of permissions
The text was updated successfully, but these errors were encountered: