]> git.proxmox.com Git - pve-access-control.git/commitdiff
get effective permissions: return /sdn path too
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Jan 2022 13:19:55 +0000 (14:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Jan 2022 13:19:57 +0000 (14:19 +0100)
only cosmetic for the user to see what their permission tree looks
like.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/RPCEnvironment.pm

index 8aae0940e5157cb7380c29fa801aaeb1517b4891..8ecbbd9e91397dbf01c85f276319e57b678064dc 100644 (file)
@@ -185,6 +185,7 @@ sub get_effective_permissions {
        '/access/groups' => 1,
        '/nodes' => 1,
        '/pools' => 1,
        '/access/groups' => 1,
        '/nodes' => 1,
        '/pools' => 1,
+       '/sdn' => 1,
        '/storage' => 1,
        '/vms' => 1,
     };
        '/storage' => 1,
        '/vms' => 1,
     };