[pve-devel] r5547 - pve-common/trunk/data/PVE
svn-commits at proxmox.com
svn-commits at proxmox.com
Wed Feb 16 08:42:17 CET 2011
Author: dietmar
Date: 2011-02-16 08:42:17 +0100 (Wed, 16 Feb 2011)
New Revision: 5547
Modified:
pve-common/trunk/data/PVE/JSONSchema.pm
Log:
Modified: pve-common/trunk/data/PVE/JSONSchema.pm
===================================================================
--- pve-common/trunk/data/PVE/JSONSchema.pm 2011-02-16 07:37:24 UTC (rev 5546)
+++ pve-common/trunk/data/PVE/JSONSchema.pm 2011-02-16 07:42:17 UTC (rev 5547)
@@ -680,8 +680,14 @@
optional => 1,
additionalProperties => 0,
properties => {
- path => { type => 'string' },
- privs => { type => 'array' },
+ user => {
+ description => "A simply way to allow access for 'all' users. The special value 'arg' allows access for the user specified in the 'username' parameter. This is useful to allow access to things owned by a user, like changing the user password.",
+ type => 'string',
+ enum => ['all', 'arg'],
+ optional => 1,
+ },
+ path => { type => 'string', optional => 1, requires => 'privs' },
+ privs => { type => 'array', optional => 1, requires => 'path' },
},
},
match_name => {
More information about the pve-devel
mailing list