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:eek:ktay@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:eek:ktay@pve:pVETest:
 
You miss VM.Audit priviledge.

- - - Updated - - -

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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!