dd 'pveum passwd' method

This commit is contained in:
Dietmar Maurer 2012-02-23 12:06:06 +01:00
parent cc7bdf3377
commit bdc61d7a18
3 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=1.0
PACKAGE=libpve-access-control
PKGREL=15
PKGREL=16
DESTDIR=
PREFIX=/usr

View File

@ -1,3 +1,9 @@
libpve-access-control (1.0-16) unstable; urgency=low
* add 'pveum passwd' method
-- Proxmox Support Team <support@proxmox.com> 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

3
pveum
View File

@ -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'] ],