]> git.proxmox.com Git - pve-firewall.git/blobdiff - src/PVE/Firewall.pm
Revert "rules: verify referenced security group exists"
[pve-firewall.git] / src / PVE / Firewall.pm
index eadfc6b1a1204979dfa0961acaa80a4fa47ca087..a2105e5410590b30305bd6941ddcc8bfe40159da 100644 (file)
@@ -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'");
        }