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

[Feature] Expand the Client Portal functionality to Group of Users from LDAP

Open prasannak81 opened this issue 4 months ago • 3 comments

Got an idea? Nice! 💡 We love hearing what features would make PegaProx better for you.

A friendly reminder: PegaProx is built by volunteers in our spare time. We can't promise timelines or guarantee every feature will be implemented — but every suggestion helps shape the roadmap!

Want to help move things faster?


Describe the feature

Client Portal plugin provides a very nice compact view for the clients. However, it's user based and takes a lot of efforts to manage each user, assign each user to N number of VMs etc. It would be nice to expand this functionality to a Group of Users. The Group can be manually created or better way is to sync the groups from LDAP. Also allow this Group to be assigned to Resource Pool (a pool of VMs from proxmox) as well as individual VMs. This will make it a lot easier to manage the client access to VMs. Also allow the Customer Roles with VM permissions to be propagated to client portal access.

Use Case

As mentioned above, it's very hard to manage the client portal with 100s of users, with different permissions on 100s of different VMs. Grouping the users, permissions and applying them on Resource Pools can help immensely to better manage the client portal access.

Alternatives considered

No workaround seems to be available.

How important is this for you?

This is very critical as we are migrating our production load over to Proxmox and have many different teams (groups) that need different level of access to their VMs.

Checklist

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

prasannak81 avatar Jul 30 '26 22:07 prasannak81

Solid idea — group-based portal access, syncing groups from LDAP, assigning them to pools/VMs and propagating the customer roles would genuinely cut the per-user busywork once you're into hundreds of clients. It's a chunky one that reaches into the portal's whole permission model, so no promises on when, but it's noted and we'll take a proper look at how it fits.

Sponsored features do jump the queue if that ever becomes relevant for you: https://opencollective.com/pegaprox — either way, thanks for the well-thought-out writeup.

mkellermann97 avatar Jul 31 '26 07:07 mkellermann97

The pool-based part of this works today. In Settings → Pool Permissions you can grant a resource pool (with the permission set you want) to a portal user — the Client Portal then shows them every VM in that pool automatically, and the power / console / snapshot actions respect it too. So instead of assigning each user to N VMs one by one, you assign the pool once and add/remove VMs by moving them in/out of the pool in Proxmox.

The wider ask — syncing user groups from LDAP and assigning a group (not a user) to pools/VMs, with role propagation — is a bigger piece we're keeping on the backlog: the group memberships need to be wired through to the portal's access resolution. The per-user pool grant should take a lot of the day-to-day pain out of managing many clients in the meantime.

Give the pool route a try and let us know if it covers your case. 🐾

mkellermann97 avatar Aug 30 '26 19:08 mkellermann97

Coming back to this one, because the group part has landed since my last reply. Since 1.3.0, Settings → Pool Permissions takes a group as well as a user, and the groups come from LDAP (or OIDC) at sign-in, so granting a pool to a group gives every member that pool's VMs in the Client Portal, with exactly the permissions you picked. Taking someone out of the group takes effect at their next sign-in. What's still missing is granting a group a single VM outside a pool; give the pool route a go and tell me if that gap matters for you.

mkellermann97 avatar Oct 25 '26 13:10 mkellermann97