From 3d7afd6f3e99d998d1f78270b2d42999f521206e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Wed, 8 Nov 2023 11:29:29 +0100 Subject: [PATCH] perms: fix wrong /pools entry in default set of ACL paths MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit /pools is not an allowed ACL path, so this would add a bogus entry into the effective permissions in case something got propagated from /. Signed-off-by: Fabian Grünbichler --- src/PVE/RPCEnvironment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/RPCEnvironment.pm b/src/PVE/RPCEnvironment.pm index 5eb339a..646a9b9 100644 --- a/src/PVE/RPCEnvironment.pm +++ b/src/PVE/RPCEnvironment.pm @@ -242,7 +242,7 @@ sub get_effective_permissions { '/access' => 1, '/access/groups' => 1, '/nodes' => 1, - '/pools' => 1, + '/pool' => 1, '/sdn' => 1, '/storage' => 1, '/vms' => 1, -- 2.39.2