[pve-devel] r4829 - pve-access-control/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Jun 22 08:13:04 CEST 2010


Author: dietmar
Date: 2010-06-22 06:13:04 +0000 (Tue, 22 Jun 2010)
New Revision: 4829

Modified:
   pve-access-control/trunk/AccessControl.pm
   pve-access-control/trunk/ChangeLog
Log:
Updated "valid_privs" with new permissions from readme



Modified: pve-access-control/trunk/AccessControl.pm
===================================================================
--- pve-access-control/trunk/AccessControl.pm	2010-06-22 06:01:18 UTC (rev 4828)
+++ pve-access-control/trunk/AccessControl.pm	2010-06-22 06:13:04 UTC (rev 4829)
@@ -468,18 +468,29 @@
 
 my $valid_privs = {
     'VM.Create' => 1,
-    'VM.AddDisk' => 1,
+    'VM.Remove' => 1,
+    'VM.MemoryModify' => 1,
     'VM.AddNewDisk' => 1,
+    'VM.AddExistingDisk' => 1,
+    'VM.DiskModify' => 1,
+    'VM.UseRawDevice' => 1,
+    'VM.PowerOn' => 1, 
+    'VM.PowerOff' => 1, 
     'VM.ConfigureCD' => 1,
+    'VM.Migrate' => 1,
     'VM.Console' => 1,
-    'VM.PowerOn' => 1,
-    'VM.PowerOff' => 1,
-    'VM.Reset' => 1,
+    'VM.CpuModify' => 1,
+    'VM.CpuCyclesModify' => 1,
+    'VM.NetworkAdd' => 1,
+    'VM.NetworkConfigure' => 1,
+    'VM.NetworkRemove' => 1,
 
-    'Storage.Allocate' => 1,
-    'Network.Assign' => 1,
+    'Datastore.AllocateSpace' => 1,
+    'Datastore.Browse' => 1,
 
-    'SetPermissions' => 1,
+    'Permissions.Modify' => 1,
+
+    'Network.AssignNetwork' => 1,
 };
 
 my $special_roles = {

Modified: pve-access-control/trunk/ChangeLog
===================================================================
--- pve-access-control/trunk/ChangeLog	2010-06-22 06:01:18 UTC (rev 4828)
+++ pve-access-control/trunk/ChangeLog	2010-06-22 06:13:04 UTC (rev 4829)
@@ -1,3 +1,8 @@
+2010-06-22  Proxmox Support Team  <support at proxmox.com>
+
+	* AccessControl.pm (add_user): Updated "valid_privs" with new
+	permissions from readme (Seth)
+
 2010-06-21  Proxmox Support Team  <support at proxmox.com>
 
 	* copyright: change license to AGPL




More information about the pve-devel mailing list