Go to file
Fabian Grünbichler c971330601 api2: network: anybridge: re-add regular bridges
commit 89d146f207 introduced permission
checks here that caused all regular bridges to be removed from the
returned list as soon as the SDN package is installed, unless the user
is root@pam or there exists a VNET with the same ID.

this is arguably a breaking change, so limit the priv check to actually
defined VNETs for the time being, and add ALL regular bridges
uncondtionally like before.

get_local_vnets already filters by the same prvs, so we need to get the
full config to find out which IDs are VNETs and which are not.

once/iff we introduce ACL paths for *all* bridges in the future, we can
limit accordingly here.

CC: Alexandre Derumier <aderumier@odiso.com>
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2022-04-27 13:55:57 +02:00
aplinfo apl info: update index to current repository state 2022-03-29 10:37:40 +02:00
bin remove pvescheduler manpage generation 2021-11-11 18:35:52 +01:00
configs configs: vzdump: use prune-backups instead of the deprecated maxfiles 2021-06-08 15:22:52 +02:00
debian d/control: bump proxmox-widget-toolkit dependency to 3.4-9 2022-04-26 16:06:04 +02:00
network-hooks ifupdown1: bridgevlan: add bridge-vids list support 2020-01-11 17:22:46 +01:00
PVE api2: network: anybridge: re-add regular bridges 2022-04-27 13:55:57 +02:00
services daily update timer: start already on 01:00 to avoid dst change issue 2022-03-14 09:04:27 +01:00
test fix tests in 'vzdump_new_test.pl' 2022-01-28 09:45:53 +01:00
www ui: sdn: zone evpn: delete exitnodes-primary if empty 2022-04-27 10:35:15 +02:00
.gitignore Extend the .gitignore(s) 2018-05-04 14:50:04 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile avoid installing unused var/lib/vz/template/qemu directory 2022-01-11 14:13:45 +01:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00