View Only User

TobiasSt

Member
Jun 12, 2018
6
0
21
28
Hi,

I want to create a new User with the only Permission to view the VM shell.
I created a few roles with different permissions like :
VM.Console
VM.Monitor
Sys.Console

Nothing seems to work.
Has anyone the correct string / solution?
 
it should work when you give a user VM.Console and VM.Audit on /vms/{VMID}
 
i used this wiki.
I created a role with:
Code:
pveum roleadd test -prvis "VM.Console"
i can see this role now at Datacenter -> Permissions . So i Added a User Permission:
Path: /vms/117
User: Hannes
Role: test
and activated Propagate option.

The only thing this user can see is the server (Datacenter -> srv-eg) but no VMs.

After that i tryed the Role from the wiki.
Code:
pveum roleadd Sys_Power-only -privs "Sys.PowerMgmt Sys.Console"
didnt worked :(
 
try
Code:
pveum roleadd test -privs "VM.Console,VM.Audit"
instead