project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Feature] Manage Proxmox VE's own users, groups, roles and ACL from PegaProx

Open NeciMNK opened this issue 1 month ago • 1 comments

Describe the feature

A "Proxmox users" section in the datacenter view, for PegaProx admins only, that manages the cluster's own accounts (what Datacenter > Permissions holds in the PVE UI):

list users, groups, roles, ACL and realms;

create, edit and delete users (password for the pve realm), groups and custom roles;

grant or remove a role on a path for a user, group or API token. Built-in roles stay read-only, root@pam is protected, every change is audited, and ids and paths are validated before they reach the PVE API.

Use Case

PegaProx has its own users and roles, but the users and permissions of the cluster itself still have to be managed in the Proxmox web interface. With this, an admin can give someone access to a VM or pool without leaving PegaProx.

Alternatives considered

Doing it in the Proxmox web UI or with pveum on the host. Both work, but it means switching tools for a routine task.

How important is this for you?

Would improve my workflow. There is a working implementation in #1232 (tested on PVE 9.2.20). Happy to change the approach or split it if you'd prefer another design.

Checklist

[x] I have searched existing issues and discussions to make sure this hasn't been requested before

[x] I understand this is a wishlist and not a work order — volunteers decide what gets built, and when

[x] I'm aware that "this should be easy, it's only a few lines" has never once turned out to be true 🪄

NeciMNK avatar Nov 04 '26 09:11 NeciMNK

Closing this together with the PR, the reasoning is over there. Thanks again for writing it up so clearly.

MK

mkellermann97 avatar Nov 20 '26 10:11 mkellermann97