[pve-devel] [PATCH-SERIES qemu-server/container 0/2] api: fix permission check for guest net device without bridge

Fiona Ebner f.ebner at proxmox.com
Tue Oct 7 15:03:41 CEST 2025


As reported in the community forum [0], changing a guest's network
device definition would fail with an error for non-root users, when
it did not (yet) specify a bridge:
> no sdn vnet ID specified

Skip the call to check_vnet_access() if there is no bridge defined.
Note that editing a device to not use any bridge anymore still
requires permissions for the currently configured bridge even after
this change.

[0]: https://forum.proxmox.com/threads/173249/


qemu-server:

Fiona Ebner (1):
  api: fix permission check for guest net device without bridge

 src/PVE/QemuServer.pm | 1 +
 1 file changed, 1 insertion(+)


container:

Fiona Ebner (1):
  api: fix permission check for guest net device without bridge

 src/PVE/LXC.pm | 1 +
 1 file changed, 1 insertion(+)


Summary over all repositories:
  2 files changed, 2 insertions(+), 0 deletions(-)

-- 
Generated by git-murpp 0.5.0




More information about the pve-devel mailing list