Access Control manager triggers command execution when rule is localized
Closed this issue · 1 comments
macarooni-man commented
The behavior of rule globalization in the UI removes the rule from every server and then executes the normal function:
acl.add_global_rule(rule, 'bans', remove=True)
acl.ban_user(rule)
The issue with this functionality is that localization of the rule causes the opposite command to be executed if the server is running, in this example pardon rule
. This is because the rule is technically being removed
It's also unclear if globalization of a rule in the UI that was previously disabled executes the command. This needs to be tested.
macarooni-man commented
Can't reproduce, closing