]> git.proxmox.com Git - pve-access-control.git/commitdiff
allow users to change his own password
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 11 Apr 2012 07:40:42 +0000 (09:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 11 Apr 2012 07:40:42 +0000 (09:40 +0200)
Makefile
PVE/RPCEnvironment.pm
changelog.Debian

index cb543ea59793e32c98c41b6f400c0e6c309b8f8a..eb163d64c565a8e8f2fa8c9466644a36ff06ba40 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=17
+PKGREL=18
 
 DESTDIR=
 PREFIX=/usr
 
 DESTDIR=
 PREFIX=/usr
index 89c4be7876f4207b218b6d87ec69e58eedd3efef..af2eee80e3ce80222595c42a42b238cd528bdbaf 100644 (file)
@@ -428,7 +428,7 @@ sub exec_api2_perm_check {
        die "missing parameters" if !$subtest;
        if ($subtest eq 'self') {
            return 0 if !$self->check_user_exist($userid, $noerr);
        die "missing parameters" if !$subtest;
        if ($subtest eq 'self') {
            return 0 if !$self->check_user_exist($userid, $noerr);
-           return 1 if $username eq 'userid';
+           return 1 if $username eq $userid;
            return 0 if $noerr;
            raise_perm_exc();
        } elsif ($subtest eq 'Realm.AllocateUser') {
            return 0 if $noerr;
            raise_perm_exc();
        } elsif ($subtest eq 'Realm.AllocateUser') {
index 97770d4aeb77dc99fb35a01aa4c64234e3286849..26dff079182ed037c5b422cd922074f04babc87e 100644 (file)
@@ -1,3 +1,9 @@
+libpve-access-control (1.0-18) unstable; urgency=low
+
+  * allow user to change his own password
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 11 Apr 2012 09:40:15 +0200
+
 libpve-access-control (1.0-17) unstable; urgency=low
 
   * set propagate flag by default
 libpve-access-control (1.0-17) unstable; urgency=low
 
   * set propagate flag by default