[pve-devel] applied-series: [PATCH-SERIES manager] improve bulk action permissions

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Mar 15 18:22:27 CET 2023


Am 01/03/2023 um 15:22 schrieb Fiona Ebner:
> 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(-)
> 


applied series, thanks!





More information about the pve-devel mailing list