When a non-root user tried to access the EVPN section, the API was returning a "403: permission check failed" error. To fix this, explicit permission checks have been added for the `/zones`, `/vnets`, and `/controllers` endpoints. Now, every authenticated user can access these endpoints however, the user must have at least the Resource.Audit permission under `/resource`. Remotes are also filtered based on the user’s access. Lists will only be fetched from remotes for which the user has at least the `Resource.Audit` permission on `/remote/{remote_name}`. changes since v1: thanks @stefan patch: https://lore.proxmox.com/pdm-devel/DDKKKUCY3S4R.1FDPCH2742RY5@proxmox.com/T/#t - Removed unused import from vnets.rs file. Shan Shaji (3): fix #6901: api: add explicit permission check for controllers list fix #6901: api: add explicit permission check for vnets list fix #6901: api: add explicit permission check for zones list server/src/api/sdn/controllers.rs | 30 ++++++++++++++++++++++++++---- server/src/api/sdn/vnets.rs | 28 +++++++++++++++++++++++++--- server/src/api/sdn/zones.rs | 28 +++++++++++++++++++++++++--- 3 files changed, 76 insertions(+), 10 deletions(-) -- 2.47.3