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 cb543ea..eb163d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=17
+PKGREL=18
 
 DESTDIR=
 PREFIX=/usr
index 89c4be7..af2eee8 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);
-           return 1 if $username eq 'userid';
+           return 1 if $username eq $userid;
            return 0 if $noerr;
            raise_perm_exc();
        } elsif ($subtest eq 'Realm.AllocateUser') {
index 97770d4..26dff07 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