]> git.proxmox.com Git - pve-access-control.git/commitdiff
perms: fix wrong /pools entry in default set of ACL paths
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 8 Nov 2023 10:29:29 +0000 (11:29 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Nov 2023 12:07:17 +0000 (13:07 +0100)
/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 <f.gruenbichler@proxmox.com>
src/PVE/RPCEnvironment.pm

index 5eb339a4b92dcdbfc87d3b68ebf649dbab14fd7d..646a9b93d18c2c8a4451905319cc3130590e08bd 100644 (file)
@@ -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,