]> git.proxmox.com Git - pve-manager.git/commit - PVE/API2/Network.pm
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)
commit89d146f207225bb8ca2e01d7e79000bb37a227d1
treeb43bdc486a501d9ab95c57bcbdd3dd52d4a1218e
parentf28f6113709a75e201b140d84342db54c8cbda65
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