]> git.proxmox.com Git - pve-manager-legacy.git/commit
api2 : network: anybridge: don't display bridges if user have access to vnets.
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 4 Oct 2021 06:08:51 +0000 (08:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 16 Mar 2022 15:43:42 +0000 (16:43 +0100)
commit052fbb2a4d1bdeb490b2e3b67cd7555e460ebe93
treebd10779dcb740a5387ba3bda9a564e7c1a39510a
parentfb6c8b067db9e1fc2e803dd89f43b6668cdf0ca1
api2 : network: anybridge: don't display bridges if user have access to vnets.

This remove vmbr* from bridgeselector if user have access to vnets.
if user need to have also access to vmbr, we can add a permission
in path "/sdn/vnets/vmbrX"

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
PVE/API2/Network.pm