[pve-devel] r5611 - pve-access-control/trunk/PVE/API2

svn-commits at proxmox.com svn-commits at proxmox.com
Thu Feb 24 12:46:39 CET 2011


Author: dietmar
Date: 2011-02-24 12:46:39 +0100 (Thu, 24 Feb 2011)
New Revision: 5611

Modified:
   pve-access-control/trunk/PVE/API2/ACL.pm
Log:
verify result


Modified: pve-access-control/trunk/PVE/API2/ACL.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/ACL.pm	2011-02-24 11:26:05 UTC (rev 5610)
+++ pve-access-control/trunk/PVE/API2/ACL.pm	2011-02-24 11:46:39 UTC (rev 5611)
@@ -30,7 +30,7 @@
 	    additionalProperties => 0,
 	    properties => {
 		path => { type => 'string' },
-		type => { type => 'string' },
+		type => { type => 'string', enum => ['user', 'group'] },
 		ugid => { type => 'string' },
 		roleid => { type => 'string' },
 		propagate => { type => 'boolean' },




More information about the pve-devel mailing list