[pve-devel] r5531 - in pve-access-control/trunk: . PVE

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Feb 15 13:44:55 CET 2011


Author: dietmar
Date: 2011-02-15 13:44:55 +0100 (Tue, 15 Feb 2011)
New Revision: 5531

Modified:
   pve-access-control/trunk/ChangeLog
   pve-access-control/trunk/PVE/AccessControl.pm
   pve-access-control/trunk/README
Log:
Add new priviledges Sys.PowerOff and Sys.Console.


Modified: pve-access-control/trunk/ChangeLog
===================================================================
--- pve-access-control/trunk/ChangeLog	2011-02-15 12:38:49 UTC (rev 5530)
+++ pve-access-control/trunk/ChangeLog	2011-02-15 12:44:55 UTC (rev 5531)
@@ -1,7 +1,7 @@
 2011-02-15  Proxmox Support Team  <support at proxmox.com>
 
 	* PVE/AccessControl.pm (verify_username): restrict user names to
-	64 charachters.
+	64 charachters. Add new priviledges Sys.PowerOff and Sys.Console.
 
 	* PVE/ACLCache.pm: move code into new file.
 

Modified: pve-access-control/trunk/PVE/AccessControl.pm
===================================================================
--- pve-access-control/trunk/PVE/AccessControl.pm	2011-02-15 12:38:49 UTC (rev 5530)
+++ pve-access-control/trunk/PVE/AccessControl.pm	2011-02-15 12:44:55 UTC (rev 5531)
@@ -459,6 +459,9 @@
     'Permissions.Modify' => 1,
 
     'Network.AssignNetwork' => 1,
+
+    'Sys.PowerOff' => 1,
+    'Sys.Console' => 1,
 };
 
 my $special_roles = {

Modified: pve-access-control/trunk/README
===================================================================
--- pve-access-control/trunk/README	2011-02-15 12:38:49 UTC (rev 5530)
+++ pve-access-control/trunk/README	2011-02-15 12:44:55 UTC (rev 5531)
@@ -91,6 +91,8 @@
 
 	Network.AssignNetwork: assign system networks
 
+	Sys.PowerOff: power off Node
+	Sys.Console: console access to Node
 
 role:
 




More information about the pve-devel mailing list