]> git.proxmox.com Git - pve-access-control.git/blobdiff - PVE/AccessControl.pm
new privilege Datastore.AllocateTemplate
[pve-access-control.git] / PVE / AccessControl.pm
index 86c15fdf1b4d16b0b2c6b39c856796ef425621a4..8305117c500b2dca9fe5f5345d4078154c89c99a 100644 (file)
@@ -548,9 +548,16 @@ my $privgroups = {
     VM => {
        root => [],
        admin => [           
-           'VM.Modify', 
+           'VM.Config.Disk', 
+           'VM.Config.CDROM', # change CDROM media
+           'VM.Config.CPU', 
+           'VM.Config.Memory', 
+           'VM.Config.Network', 
+           'VM.Config.HWType',
+           'VM.Config.Options', # covers all other things 
            'VM.Allocate', 
            'VM.Migrate',
+           'VM.Monitor', 
        ],
        user => [
            'VM.Console', 
@@ -579,6 +586,7 @@ my $privgroups = {
        root => [],
        admin => [
            'Datastore.Allocate',
+           'Datastore.AllocateTemplate',
        ],
        user => [
            'Datastore.AllocateSpace',