public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Jonas Theisen <j.theisen@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH access-control/docs/manager/qemu-server 0/5] Add new permission VM.Reboot
Date: Wed, 16 Sep 2026 11:06:54 +0200	[thread overview]
Message-ID: <20260916090715.72307-1-j.theisen@proxmox.com> (raw)

This patch series implements a new permission called VM.Reboot
and integrates it into the UI.

This permission is meant as a stricter alternative to the already
existing VM.PowerMgmt permission.
A use case for this might be a shared VM between multiple users
which should be able to make config changes to the VM but not
stop it.

The request for that came up during a PVE training.

The patches adapt the necessary permission check in qemu-server,
adapt the UI to deliver an intuitive experience for the user and
add the permission to the docs.

By default this permission is not assigned to a specific role.

pve-manager:

Jonas Theisen (2):
  ui: integrate new VM.Reboot permission
  ui: align VM context menu to permissions

 www/manager6/qemu/CmdMenu.js | 26 ++++++++++--------
 www/manager6/qemu/Config.js  | 51 ++++++++++++++++++++++++++++++------
 2 files changed, 58 insertions(+), 19 deletions(-)


pve-access-control:

Jonas Theisen (1):
  acl: Add new privilege VM.Reboot

 src/PVE/AccessControl.pm | 1 +
 src/test/perm-test1.pl   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


qemu-server:

Jonas Theisen (1):
  api: Integrate new privilege VM.Reboot

 src/PVE/API2/Qemu.pm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)


pve-docs:

Jonas Theisen (1):
  pveum: VM permissions: add VM.Reboot

 pveum.adoc | 1 +
 1 file changed, 1 insertion(+)


Summary over all repositories:
  6 files changed, 72 insertions(+), 23 deletions(-)

-- 
Generated by murpp 0.12.1




             reply	other threads:[~2026-09-16  9:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-16  9:06 Jonas Theisen [this message]
2026-09-16  9:06 ` [PATCH manager 1/5] ui: integrate new VM.Reboot permission Jonas Theisen
2026-09-16  9:06 ` [PATCH manager 2/5] ui: align VM context menu to permissions Jonas Theisen
2026-09-16  9:06 ` [PATCH access-control 3/5] acl: Add new privilege VM.Reboot Jonas Theisen
2026-09-16  9:06 ` [PATCH qemu-server 4/5] api: Integrate " Jonas Theisen
2026-09-16  9:06 ` [PATCH docs 5/5] pveum: VM permissions: add VM.Reboot Jonas Theisen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260916090715.72307-1-j.theisen@proxmox.com \
    --to=j.theisen@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal