Custom Role Issue

ispirto

Renowned Member
Oct 20, 2012
37
1
73
I've created a custom role with the following command:

pveum roleadd PVETest -privs "VM.Backup Datastore.AllocateSpace VM.Config.CDROM VM.Console VM.PowerMgmt"

Then I've added that role to user "oktay@pve": http://i.imgur.com/k1RigtV.png

However, when I login with that user, I cannot see the associated VM (100) in Proxmox Web.

It works fine if I use PVEVMUser.

Here is the /etc/pve/user.cfg

cat /etc/pve/user.cfg
user:oktay@pve:1:0:::::
user:root@pam:1:0:::domain@domain.com::






role:PVETest:VM.Backup,VM.PowerMgmt,VM.Console,VM.Config.CDROM,Datastore.AllocateSpace:


acl:1:/vms/100:oktay@pve:PVETest:
 
You miss VM.Audit priviledge.

- - - Updated - - -

There is also a syntax error in the config you posted (additional space).