From: Thomas Lamprecht Date: Wed, 6 May 2020 15:40:33 +0000 (+0200) Subject: Revert "rules: verify referenced security group exists" X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=14f7c4fd15729847cc356abbe70aee19a3b86c10;hp=c5530455c42e86b954647a67ca0bb977b411d37c Revert "rules: verify referenced security group exists" This could never work, we do not have the groups parsed at this point.. This reverts commit 312ae5161f80d7cd600d9a182eb0b70492489a05. --- diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm index eadfc6b..a2105e5 100644 --- a/src/PVE/Firewall.pm +++ b/src/PVE/Firewall.pm @@ -1636,8 +1636,6 @@ sub verify_rule { if !$allow_groups; &$add_error('action', "invalid characters in security group name") if $action && ($action !~ m/^${security_group_name_pattern}$/); - &$add_error('action', "security group '$action' does not exist") - if $action && !defined($cluster_conf->{groups}->{$action}); } else { &$add_error('type', "unknown rule type '$type'"); }