[pve-devel] [PATCH-SERIES manager] improve bulk action permissions
f.ebner at proxmox.com
Wed Mar 1 15:22:18 CET 2023
In the UI, fix the checks to use the same permission as the backend,
i.e. VM.PowerMgmt rather than Sys.PowerMgmt.
In the backend, also allow the bulk action when the user has the
appropriate permission for each guest in the passed-in list.
Fiona Ebner (2):
ui: bulk start/stop: align capability checks with backend
api: node: bulk actions: allow when user has permission for each guest
PVE/API2/Nodes.pm | 39 +++++++++++++++++++++++++++++++++---
www/manager6/node/CmdMenu.js | 4 +++-
www/manager6/node/Config.js | 6 +++---
3 files changed, 42 insertions(+), 7 deletions(-)
More information about the pve-devel