From: Dietmar Maurer Date: Thu, 23 Feb 2012 11:06:06 +0000 (+0100) Subject: dd 'pveum passwd' method X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=commitdiff_plain;h=bdc61d7a1801e690a68a264f1c9c22963eeb5df8 dd 'pveum passwd' method --- diff --git a/Makefile b/Makefile index 36d5687..0039083 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ RELEASE=2.0 VERSION=1.0 PACKAGE=libpve-access-control -PKGREL=15 +PKGREL=16 DESTDIR= PREFIX=/usr diff --git a/changelog.Debian b/changelog.Debian index 82e8d1c..7281cf0 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,9 @@ +libpve-access-control (1.0-16) unstable; urgency=low + + * add 'pveum passwd' method + + -- Proxmox Support Team Thu, 23 Feb 2012 12:05:25 +0100 + libpve-access-control (1.0-15) unstable; urgency=low * Add VM.Config.CDROM privilege to PVEVMUser rule diff --git a/pveum b/pveum index 87a1c05..7c69688 100755 --- a/pveum +++ b/pveum @@ -60,6 +60,9 @@ my $cmddef = { my ($res) = @_; print "$res->{ticket}\n"; }], + + passwd => [ 'PVE::API2::AccessControl', 'change_passsword', ['userid'] ], + useradd => [ 'PVE::API2::User', 'create_user', ['userid'] ], usermod => [ 'PVE::API2::User', 'update_user', ['userid'] ], userdel => [ 'PVE::API2::User', 'delete_user', ['userid'] ],