[pve-devel] r5603 - pve-access-control/trunk/PVE/API2
svn-commits at proxmox.com
svn-commits at proxmox.com
Wed Feb 23 13:24:23 CET 2011
Author: dietmar
Date: 2011-02-23 13:24:23 +0100 (Wed, 23 Feb 2011)
New Revision: 5603
Modified:
pve-access-control/trunk/PVE/API2/User.pm
Log:
s/id/userid/
Modified: pve-access-control/trunk/PVE/API2/User.pm
===================================================================
--- pve-access-control/trunk/PVE/API2/User.pm 2011-02-23 12:23:16 UTC (rev 5602)
+++ pve-access-control/trunk/PVE/API2/User.pm 2011-02-23 12:24:23 UTC (rev 5603)
@@ -45,10 +45,10 @@
items => {
type => "object",
properties => {
- id => { type => 'string' },
+ userid => { type => 'string' },
},
},
- links => [ { rel => 'child', href => "{id}" } ],
+ links => [ { rel => 'child', href => "{userid}" } ],
},
code => sub {
my ($param) = @_;
@@ -61,7 +61,7 @@
next if $user eq 'root';
my $entry = &$extract_user_data($usercfg->{users}->{$user});
- $entry->{id} = $user;
+ $entry->{userid} = $user;
push @$res, $entry;
}
More information about the pve-devel
mailing list