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
userktay@pve:1:0:::::
user:root@pam:1:0:::domain@domain.com::
roleVETest:VM.Backup,VM.PowerMgmt,VM.Console,VM.Config.CDROM,Datastore.AllocateSpace:
acl:1:/vms/100ktay@pveVETest:
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
userktay@pve:1:0:::::
user:root@pam:1:0:::domain@domain.com::
roleVETest:VM.Backup,VM.PowerMgmt,VM.Console,VM.Config.CDROM,Datastore.AllocateSpace:
acl:1:/vms/100ktay@pveVETest: