no need for pool allocate permissions here, only VM.*
Right, but without pool allocate, users do not see the pools. I might be wrong about this, and if I am, please correct me.
what do you actually need?
I would like users to use pools rather than have to browse the individual servers to find their VMs.
What I am trying to figure out is whether there's a way to provide users access to pools without granting them also the permissions to modify the permissions of the pools they are assigned to.
So, for instance, here is a role I have:
Code:
┌──────────────────────┬───────┐
│ key │ value │
╞══════════════════════╪═══════╡
│ Pool.Allocate │ 1 │
├──────────────────────┼───────┤
│ VM.Audit │ 1 │
├──────────────────────┼───────┤
│ VM.Config.CDROM │ 1 │
├──────────────────────┼───────┤
│ VM.Config.Cloudinit │ 1 │
├──────────────────────┼───────┤
│ VM.Config.HWType │ 1 │
├──────────────────────┼───────┤
│ VM.Config.Options │ 1 │
├──────────────────────┼───────┤
│ VM.Console │ 1 │
├──────────────────────┼───────┤
│ VM.Monitor │ 1 │
├──────────────────────┼───────┤
│ VM.PowerMgmt │ 1 │
├──────────────────────┼───────┤
│ VM.Snapshot │ 1 │
├──────────────────────┼───────┤
│ VM.Snapshot.Rollback │ 1 │
└──────────────────────┴───────┘
The VM permissions are the only permissions I would like a user assigned to a pool to have. However, with pool allocate (which, if I understand correctly, is the only way a user can even see a pool), a user can re-add themselves to the pool as administrator (or whatever other role they choose), modifying the permissions they were initially granted by their role.
With the risk of repeating myself, I am assuming this is by design. If it is by design, my question then is, is there a way to make it so that a user can only access pools, without being able to modify their permissions or those of the objects contained therein, unless they have explicit permissions to do so (e.g., they have permissions modify)?