[pdm-devel] [PATCH datacenter-manager 0/3] fix #6901: allow non root users to access the EVPN dashboard
Shan Shaji
s.shaji at proxmox.com
Tue Oct 14 17:03:54 CEST 2025
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}`.
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 | 29 ++++++++++++++++++++++++++---
server/src/api/sdn/zones.rs | 28 +++++++++++++++++++++++++---
3 files changed, 77 insertions(+), 10 deletions(-)
--
2.47.3
More information about the pdm-devel
mailing list