From 14f7c4fd15729847cc356abbe70aee19a3b86c10 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 6 May 2020 17:40:33 +0200 Subject: [PATCH] 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. --- src/PVE/Firewall.pm | 2 -- 1 file changed, 2 deletions(-) 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'"); } -- 2.39.2